Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
User name:
Password:
Save Password
Forgot your password?

 All Forums
 Visual Assist
 Feature Requests
 Double slash comment style
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

kenny
Junior Member

19 Posts

Posted - Apr 07 2009 :  06:39:23 AM  Show Profile  Reply with Quote
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

feline
Whole Tomato Software

United Kingdom
18942 Posts

Posted - Apr 07 2009 :  1:28:17 PM  Show Profile  Reply with Quote
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

zen is the art of being at one with the two'ness
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000