Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Feature Requests
 keyboard shortcut for "Implement Virtual Methods"

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
MrDoomMaster Posted - Feb 26 2014 : 4:13:10 PM
Currently there doesn't seem to be a keyboard shortcut available for Refactor >> Implement Virtual Methods..., which is normally available when you right click the base class of a class declaration.

Please add a shortcut for this!!
3   L A T E S T    R E P L I E S    (Newest First)
sean Posted - Feb 26 2014 : 4:46:17 PM
Create Method Implementations is offered when a class has declarations without implementations. It is Create Implementation in bulk (does not involve base classes).

Implement Virtual Methods is offered when a base class is not deemed to be an interface but has virtual methods. Implement Virtual Methods will display a dialog from which you may review base classes and methods.

Implement Interface is offered when a base class is deemed to be an interface. Implement Interface usually just runs without a dialog, but a dialog may be presented if there is more than one interface or if there many methods on the interface.

Implement Virtual Methods and Implement Interface can be invoked from the class definition or from a single one of its base classes (invoke on foo or bar in "class foo : public bar...").
MrDoomMaster Posted - Feb 26 2014 : 4:40:29 PM
Thanks sean.

I'm a bit confused between all of these similar refactoring options. What's the difference in these?
- Refactor >> Create Method Implementations
- Refactor >> Implement Virtual Methods
- Implement Interface
sean Posted - Feb 26 2014 : 4:20:39 PM
alt+shift+q is the shortcut for the VA refactor menu.

alt+shift+q,t will run implement methods/interface.

Alternatively, you can bind a shortcut to the command:
Tools | Options | Environment | Keyboard
Look for "VAssistX.RefactorImplementInterface"
(implement interface and implement virtual methods are the same Visual Studio command)

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