Commenting/Uncommenting a block of code [solved]

General questions regarding the usage of CodeLite
gopalvenu
CodeLite Enthusiast
Posts: 10
Joined: Wed Sep 07, 2011 8:08 pm
Genuine User: Yes
IDE Question: C++
Contact:

Commenting/Uncommenting a block of code [solved]

Post by gopalvenu »

couldn't find any buttons/menu items to do this..
Last edited by gopalvenu on Wed Sep 21, 2011 2:09 am, edited 1 time in total.
DavidGH
CodeLite Plugin
Posts: 819
Joined: Wed Sep 03, 2008 7:26 pm
Contact:

Re: Commenting/Uncommenting a block of code

Post 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
gopalvenu
CodeLite Enthusiast
Posts: 10
Joined: Wed Sep 07, 2011 8:08 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Commenting/Uncommenting a block of code

Post by gopalvenu »

Thanks, DavidGH
User avatar
eranif
CodeLite Plugin
Posts: 6375
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

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

Post 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
Make sure you have read the HOW TO POST thread
Post Reply