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
 Easier uncommenting parameters with '/'
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

EugeneKozlov
Senior Member

Russia
39 Posts

Posted - Nov 01 2015 :  01:59:38 AM  Show Profile  Reply with Quote
Hello,

If I need to comment some parameter, I just double-click on name and press '/':

void foo(int /*a*/)

However, if I need to uncomment this parameter, I should manually select comment without double-click, because double-click selects '*/)' as single token:

void foo(int /*a*/)
void foo(int /*a*/)
void foo(int /*a*/)

Thank you.

feline
Whole Tomato Software

United Kingdom
19020 Posts

Posted - Nov 02 2015 :  3:59:34 PM  Show Profile  Reply with Quote
Are you aware of VA's new Extend Selection command? By default this is mapped to Shift+Alt+], or via the VA context menu, which you can map to a mouse click in:

VA Options -> General -> Execute VA Context Menu upon Middle-Click in text editor

It is also in the VA menU:

VAssistX -> Smart Select -> ...

This lets you select the parameter with a couple of key presses, or a mouse double click and a key press. Not quite as fast as a double click, but changing what double click does is likely to run into unwanted edge cases.

zen is the art of being at one with the two'ness
Go to Top of Page

EugeneKozlov
Senior Member

Russia
39 Posts

Posted - Nov 04 2015 :  01:55:25 AM  Show Profile  Reply with Quote
Nice feature, thank you.
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