Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Community » Newbie corner » Block comment key short cut
Re: Block comment key short cut [message #31584 is a reply to message #31582] Wed, 16 March 2011 14:01 Go to previous messageGo to previous message
Lance is currently offline  Lance
Messages: 527
Registered: March 2007
Contributor
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.


 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Foreign Languages - For FileSel, PromptOK, and other
Next Topic: Looking for an idea to hide cursor in SqlArray
Goto Forum:
  


Current Time: Mon May 13 01:01:18 CEST 2024

Total time taken to generate the page: 0.02707 seconds