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
 Technical Support
 Hotkey for refactor popup menu?
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

peterchen
Tomato Guru

126 Posts

Posted - Aug 03 2006 :  07:29:27 AM  Show Profile  Reply with Quote
Is ist possible to set a hotkey for the refactoring popup menu for the symbol under the caret?

This would make it much more accessible (assuming that the access keys for the individual commands are unique), as I'd have to remember only one keystroke, and could still execute each command I know with two of them.

feline
Whole Tomato Software

United Kingdom
19021 Posts

Posted - Aug 03 2006 :  7:09:39 PM  Show Profile  Reply with Quote
in VS2003 and VS2005 "alt-a, r" will open the VAssistX menu and then open the refactoring sub-menu. at this point all of the options have unique keyboard shortcuts. this is what i do myself all of the time, since i am quite keyboard centred when programming.

you can add the menu to VC6 if you choose, but from memory Support said that VA cannot disable inactive menu items in VC6, so you will have to rely on them not doing anything, or giving an error message when you select one that is not available.

alternatively you can bind keyboard shortcuts to specific refactoring operations that you use a lot, via the IDE's keyboard settings.

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

peterchen
Tomato Guru

126 Posts

Posted - Aug 04 2006 :  03:48:37 AM  Show Profile  Reply with Quote
>> you can add the menu to VC6
I feel a little dense - I don't get it to work ("New Menu" always vanishes from the menu bar before I can add any commands). Any tips?


>> alternatively you can bind keyboard shortcuts
The thing I like most about CodeWiz (http://www.sohva.org/CodeWiz/) is: I have to remember only two shortcuts (one for the refactoring menu, one for the macros), and the menus pop up in place. It's great for getting used to new features (and for getting coworkers hooked :) )

I'll try the VS2005 Alt-a,r when I'm home, that should do it for me.
Go to Top of Page

beef
Senior Member

Poland
42 Posts

Posted - Aug 04 2006 :  07:45:33 AM  Show Profile  Reply with Quote
By the way - I just tried Alt-a, r and... nothing happens. That's because in VS2005 Proffesional Edition there is a 'Data' menu, which also has the 'a' underscored, just like VAssistX has. The solution I found is:
1. RMB on the menu -> customize
2. RMB on the 'Data' item -> remove an ampersand from the item name.
Go to Top of Page

jpizzi
Tomato Guru

USA
642 Posts

Posted - Aug 05 2006 :  01:46:43 AM  Show Profile  Reply with Quote
peterchen: I just tried adding a menu to VC6, and got the same thing (the menu disappeared). But, I was trying to add it after the Help menu. Adding it in the middle allowed it to stay.

HTH,

Joe Pizzi

Edited by - jpizzi on Aug 05 2006 01:47:17 AM
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19021 Posts

Posted - Aug 06 2006 :  3:00:11 PM  Show Profile  Reply with Quote
beef, the data menu only seems to show up some of the time in VS2005. i have yet to work out what causes it to appear, but i simply moved it into the tools menu, which got it out of my way, allowing alt-a to work as expected all of the time.

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