Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Feature Requests
 Double slash comment style

You must be registered to post a reply.
Click here to register.

Screensize:
UserName:
Password:
Format: BoldItalicizeUnderlineStrikethrough Align leftCenterAlign right Insert horizontal ruleUpload and insert imageInsert hyperlinkInsert email addressInsert codeInsert quoted textInsert listInsert Emoji
   
Message:

Forum code is on.
Html is off.

 
Check to subscribe to this topic.
   

T O P I C    R E V I E W
kenny Posted - Apr 07 2009 : 06:39:23 AM
Currently we can comment out the selected codes by pressing "/", then a double slash will be added before each line of codes, such as

//......for (int ii = 0; ii < ; ++ii)
//......{
//..........printf("Hello %d\\n", ii);
//......}

But I wish the double slash can be added right before the first none-blank(excluding space/tab) character, such as:

..//for (int ii = 0; ii < ; ++ii)
..//{
......//printf("Hello %d\\n", ii);
..//}

Thanks,
Kenny
1   L A T E S T    R E P L I E S    (Newest First)
feline Posted - Apr 07 2009 : 1:28:17 PM
Is there any reason for this, or just personal preference?

You can do this with an IDE macro, this example should get you started:

http://support.wholetomato.com?W445

© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000