Author Topic: Help, cannot turn automatic comment completion off  (Read 3831 times)

samiam95124

  • Junior Community Member
  • Posts: 3
  • Hero Points: 0
Help, cannot turn automatic comment completion off
« on: February 02, 2011, 02:22:13 AM »
Hi,

How can I turn off autocompletion of comments?

Ie.,

/* */

In C, where it automatically inserts the*/ characters. I have turned off virtually everything under the C/C++ options menus. Nothing gets rid of it.

Thanks,

Scott

jechard

  • Community Member
  • Posts: 15
  • Hero Points: 0
Re: Help, cannot turn automatic comment completion off
« Reply #1 on: February 02, 2011, 01:45:57 PM »
There is a key binding to the * character that will automatically insert the closing comment if the / was put in front of it for many languages.  If you remove the binding of the * to the c-asterisk function for mode c this should fix your concern.

samiam95124

  • Junior Community Member
  • Posts: 3
  • Hero Points: 0
Re: Help, cannot turn automatic comment completion off
« Reply #2 on: February 03, 2011, 06:09:14 PM »
Thanks! That worked.

Scott

debiddo

  • Junior Community Member
  • Posts: 3
  • Hero Points: 0
Re: Help, cannot turn automatic comment completion off
« Reply #3 on: February 28, 2011, 02:42:16 PM »
Better to set the def_var def_auto_complete_block_comment to 0.  At command line type 'set-var def_auto_complete_block_comment' and then at the variable value prompt, set the value to 0.  You can then rebind asterisk key to c_asterisk().