We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexSuggestions & BugsSoftware,  Documentation,  Website Suggestions › Comment/uncomment selection commands
Page Index Toggle Pages: 1
Comment/uncomment selection commands (Read 1025 times)
Comment/uncomment selection commands
Aug 31st, 2005, 8:42am
 
It would be cool if the Edit menu had commands to comment or uncomment the selected block of code (using // style comments).  Possibly accompanied by Command-/ and Command-Shift-/ shortcut keys.
Re: Comment/uncomment selection commands
Reply #1 - Aug 31st, 2005, 10:50am
 

Commenting blocks of code is simple:

// for a single line

/*

this is a commented block of code

*/

or do you mean auto-commenting a highlighted block ?
Re: Comment/uncomment selection commands
Reply #2 - Aug 31st, 2005, 10:39pm
 
I think he means auto-commenting a highlighted block.  Director does this and it comes in very handy, would be a nice addition.
Page Index Toggle Pages: 1