Page 1 of 1

Commenting/Uncommenting a block of code [solved]

Posted: Tue Sep 20, 2011 11:40 am
by gopalvenu
couldn't find any buttons/menu items to do this..

Re: Commenting/Uncommenting a block of code

Posted: Tue Sep 20, 2011 12:38 pm
by DavidGH
Hi,

They're carefully hidden inside C++ (or the context menu) > Code Generation/Refactoring ;) . There's both 'Comment selection' and 'Toggle Line Comment'.

Regards,

David

Re: Commenting/Uncommenting a block of code

Posted: Tue Sep 20, 2011 11:09 pm
by gopalvenu
Thanks, DavidGH

Re: Commenting/Uncommenting a block of code [solved]

Posted: Thu Sep 22, 2011 10:29 pm
by eranif
Also:
Ctrl-Shift-/ (for commenting the selected text with C style commet)
Ctrl-/ (for commenting the current line, or multiple lines if there is a multiline selection)

Eran