Home » Community » Newbie corner » Block comment key short cut
Re: Block comment key short cut [message #31604 is a reply to message #31584] |
Thu, 17 March 2011 03:29 |
Novo
Messages: 1358 Registered: December 2006
|
Ultimate Contributor |
|
|
Lance wrote on Wed, 16 March 2011 09:01 | Thank you very much for your quick response!
By block comment, I mean select a block of code, press some key shortcut or a tool button, voila, all the lines have a pretty
//
preceding them. And you can also BLOCK uncomment selected code lines so that those line are back to life again(preceding first 2 // removed)
The way you mentioned may be functionally equivalent or similar, but it doesn't allow nested actions, eg, you may comment 3 lines and subsequently want to comment a larger block containing these 3 lines. Majority of C++ preprocessors don't accept nested /**/ comment, at least by default.
|
Setup -> Environment -> Assist
Check "[ { ( " / * enclose selection"
Select a block of lines.
Press /
Regards,
Novo
|
|
|
|
|
Block comment key short cut
By: Lance on Wed, 16 March 2011 13:10
|
|
|
Re: Block comment key short cut
|
|
|
Re: Block comment key short cut
By: Lance on Wed, 16 March 2011 14:01
|
|
|
Re: Block comment key short cut
By: Lance on Wed, 16 March 2011 14:04
|
|
|
Re: Block comment key short cut
By: Novo on Thu, 17 March 2011 03:29
|
|
|
Re: Block comment key short cut
By: jerson on Thu, 17 March 2011 07:17
|
|
|
Re: Block comment key short cut
By: Lance on Thu, 17 March 2011 18:53
|
|
|
Re: Block comment key short cut
|
|
|
Re: Block comment key short cut
By: jibe on Fri, 18 March 2011 10:38
|
|
|
Re: Block comment key short cut
By: Lance on Sat, 19 March 2011 03:04
|
|
|
Re: Block comment key short cut
|
|
|
Re: Block comment key short cut
By: jibe on Thu, 07 July 2011 10:58
|
|
|
Re: Block comment key short cut
By: jerson on Thu, 07 July 2011 11:24
|
|
|
Re: Block comment key short cut
By: jibe on Thu, 07 July 2011 16:24
|
Goto Forum:
Current Time: Mon May 13 05:11:32 CEST 2024
Total time taken to generate the page: 0.02828 seconds
|