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
 Keyboard shortcuts for Refactor/Rename et al.
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

KirillMueller
Ketchup Master

72 Posts

Posted - Sep 08 2006 :  06:39:40 AM  Show Profile  Reply with Quote
Many VAX commands have a name the IDE knows about, like VAssist.GotoImplementation, so that one can assign a shortcut to them. I'm missing this for the refactoring commands, particularly for Rename.

feline
Whole Tomato Software

United Kingdom
19022 Posts

Posted - Sep 09 2006 :  09:35:48 AM  Show Profile  Reply with Quote
using VS2003, C++ and VA 1534 if i go to IDE tools menu -> options -> keyboard
i am seeing the actions:

VAssistX.ChangeSignature
VAssistX.CreateDeclaration
VAssistX.CreateImplementation
VAssistX.DocumentMethod
VAssistX.Rename

i have not looked for the rest, but they should all be there. which IDE and version of VA are you using?

if you have been using the 15xx builds since the first (private) beta release and not reset the IDE since then it is possible you will not have these. when you open the VAssistX menu from the IDE (not available in VC6 by default) do you see the refactoring sub menu? the keyboard shortcuts were added at the same time as this sub menu, if i remember correctly.

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

KirillMueller
Ketchup Master

72 Posts

Posted - Sep 10 2006 :  05:18:50 AM  Show Profile  Reply with Quote
After IDE reset the commands have become available. Thank you.

However, setup could be made smarter about figuring out whether it's necessary to reset the IDE. I would expect entirely new commands to be added silently.
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19022 Posts

Posted - Sep 10 2006 :  5:10:52 PM  Show Profile  Reply with Quote
when you upgrade from 14xx to 15xx then the installer automatically resets the IDE, since it knows it has to. however the reset was not forced when moving from one 15xx build to another 15xx build. this should only effect the people who were part of the private beta test. i seem to remember support posting that a reset was required when the new menu options were introduced.

we try to avoid forcing an IDE reset since it can upset people who have done a lot of configuring of their systems.

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

KirillMueller
Ketchup Master

72 Posts

Posted - Sep 10 2006 :  6:24:22 PM  Show Profile  Reply with Quote
Yes, but du you really need a full reset of the IDE to add new command identifiers? If no, the installer (or VAX) could check and update that automatically.
Go to Top of Page

schoenherr
Tomato Guru

Germany
160 Posts

Posted - Sep 11 2006 :  12:50:50 AM  Show Profile  Reply with Quote
@feline:
about the VAssistX menu: you said 'not available in VC6 by default', does this mean there is a way to enable it in VC6? if so, can you tell us how to do that?
thanks in advance
m.schoenherr
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19022 Posts

Posted - Sep 16 2006 :  11:52:30 AM  Show Profile  Reply with Quote
KirillMueller my understanding is that any change to the menu structure of VA requires an IDE reset. from memory the ability to add keyboard shortcuts was added at the same time as the refactoring sub menu. i suspect that adding additional custom keyboard shortcuts also requires resetting the IDE.

i do get the feeling at times that the IDE is not the easies envoironment in the world to modify


schoenherr in VC6 right click the menu bar or a toolbar and select customize. select the "Commands" tab on the customize dialog, and pick "Add-ins" from the Category pull down list. this will show you the available VA commands. currently the refactoring commands do not have icons, so they show as black squares.

i can quite happily drag and drop these from the dialog onto either an existing toolbar or into an existing menu, thus adding them as new menu entries.

so far i cannot work out how to add a new menu, but i suspect it is possible.

the problem with adding the commands to a menu is that VA does not have the ability to disable menu options in VC6 that are not currently available, so if you trigger "Change Signature" on a key word for example you will get an error message, since it is not a valid operation.

i hope this helps. if you can spot how to add a new menu it would be useful to know for future reference.

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

jpizzi
Tomato Guru

USA
642 Posts

Posted - Sep 17 2006 :  01:02:48 AM  Show Profile  Reply with Quote
To add a new menu to VC6, select Tools, Customize. On the Commands tab, open the Category drop-down. The very last entry is "New menu." Select this, and drag it onto the menu somewhere to the left of Help. For some reason VC6 will not allow you to add a menu to the right of the Help menu. Of course, you can rename the menu to whatever you like.

Joe Pizzi
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19022 Posts

Posted - Sep 17 2006 :  10:53:20 AM  Show Profile  Reply with Quote
i am able to add a new menu either side of the help menu in VC6, but the problem i had was if the menu was empty, as soon as you click away from it you can no longer see or access it *sigh*

then, a couple of minutes later, for no obvious reason, the menu would come back. i ended up with 7 new, empty menu's at one point due to this effect.

to rename the new menu right click on it and select "Button Appearance", you can change its name in the dialog that appears. it took me a bit of hunting to find this, since it did not seem all that obvious to me.

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