Visual Assist X--Assign Shortcuts

Assign Shortcuts

For fast access, assign commands within Visual Assist X to shortcut keys. By default, several unused shortcuts are assigned when Visual Assist X is installed. Reach virtually every feature of Visual Assist X without touching the mouse. 

 

Some of the current assignments appear in the Visual Assist X menu. 

 

Default Shortcuts

Default shortcuts are provided for several commands within Visual Assist X. These shortcuts are valid only if you have not assigned them to other commands. Hence, installation of Visual Assist X does not overwrite any of your existing assignments. Installation only complements your assignments. 

If you assign a new shortcut to a command of Visual Assist X which has a default shortcut, the default shortcut is still valid until it is assigned to a different command. For example, Alt+G remains valid if you assignVAssistX.GotoImplementation to Alt+Shift+G.

Shortcuts Listed in IDE Dialogs

In VC6, VS2005, VS2008 and VS2010, the default shortcuts are listed in the respective IDE Options dialog. 

Default shortcuts appear in the Options dialog of Microsoft Visual Studio .NET (VS2003) only when the Keyboard mapping scheme is set to [Default Settings]. Default shortcuts do not appear if you use any other scheme. For example, you do not see the default for VAssistX.GotoImplementation if your scheme is set to Visual C++ 6

 

Assignments in Tooltips

Tooltips for several controls in Visual Assist X contain shortcuts. In VC6 and VS2003, the controls outside the Visual Assist X toolbar have fixed tooltips. Assignments shown do not change even if you reassign the underlying commands. In IDE versions later than VS2003, bindings shown reflect actual assigned bindings. 

 

Tooltips for commands in the Visual Assist X toolbar contain current assignments. 

 

Current assignments appear in tooltips for IDEs other than VC6 only if the appropriate option is set in the IDE. SeeTools|Customize|Options

 

Default Assignment to Open Context Menu

Shift+Application opens the Visual Assist X context menu. Shift+Right Click in a source window does the same. While you cannot undo these assignments, you can assign another shortcut to open the menu.

Default Assignment for Paste

Ctrl+Shift+V opens a menu of clipboards. You can assign a different shortcut in any IDE to open the menu. If you check the option to display a paste menu in the Visual Assist X options dialog of Microsoft Visual Studio .NET, Ctrl+Shift+V opens the menu. If the option is unchecked, you can have one shortcut open a menu while Ctrl+Shift+V cycles the clipboard ring. 

Commands Available for Shortcut Assignments

Command Description Default Shortcut
CloneFindReferencesResults Clone Find References Results Window
EnableDisable Enable/Disable Visual Assist X
FindNextbyContext Find Next Reference to a Symbol
FindPreviousbyContext Find Previous Reference to a Symbol
FindReferences Find References to a Symbol Alt+Shift+F
FindReferencesinFile Find References in File
FindReferencesResults Open Find References Results Window
FindSelected Highlight All Instances of Word Under Caret
FindSymbolDialog Open Find Symbol Dialog Alt+Shift+S
GotoImplementation Goto Declaration or Implementation Alt+G
ListMethodsInCurrentFile List Methods in Current File Alt+M
NavigateBack Navigate Back Alt+Left Arrow
NavigateForward Navigate Forward
OpenContextMenu Open Context Menu
OpenCorrespondingFile Open Corresponding File Alt+O
OpenFileInSolutionDialog Open File in Solution Dialog Alt+Shift+O
Options Open Visual Assist X Options Dialog
OutlineContextMenu Open VA Outline Context Menu
OutlineRefresh Refresh VA Outline
OutlineSelectInEditor Select Corresponding Item in Text Editor from VA Outline
OutlineToggleAutoUpdate Toggle Auto Update in VA Outline
OutlineToggleComments Toggle Comments in VA Outline
Paste Open Menu of Clipboards Ctrl+Shift+V
RefactorAddMember Refactor: Add Member
RefactorAddSimilarMember Refactor: Add Similar Member
RefactorChangeSignature Refactor: Change Signature
RefactorContextMenu Open Refactoring Context Menu Alt+Shift+Q
RefactorCreateDeclaration Refactor: Create Declaration
RefactorCreateFromUsage Refactor: Create From Usage Alt+Shift+C
RefactorCreateImplementation Refactor: Create Implementation
RefactorDocumentMethod Refactor: Document Method
RefactorEncapsulateField Refactor: Encapsulate Field
RefactorExtractMethod Refactor: Extract Method
RefactorMoveImplementationToSourceFile Refactor: Move Implementation to Source File
RefactorRename Refactor: Rename Alt+Shift+R
RefResultsCancel Cancel Find References Results
RefResultsClearAll Clear All Find References Results
RefResultsContextMenu Open Find References Results Dialog Context Menu
RefResultsCopy Copy Text from Find References Results Dialog
RefResultsCut Cut Text from Find References Results Dialog
RefResultsDelete Delete Item from Find References Results Dialog
RefResultsFind Find in Find References Results
RefResultsFindNext Find Next in Find References Results
RefResultsFindPrevious Find Previous in Find References Results
RefResultsGoto Goto Method from Find References Results
RefResultsNext Next in Find References Results
RefResultsPrevious Previous in Find References Results
RefResultsRefresh Refresh Find References Results
RefResultsToggleHighlight Toggle Highlight in Find References Results
ReparseCurrentFile Reparse Current File
ScopeNext Move to Next Scope Alt+Down Arrow
ScopePrevious Move to Previous Scope Alt+Up Arrow
SelectionBlockComment Add Block Comments to Selected Text
SelectionBlockUncomment Remove Block Comments from Selected Text
SelectionLineComment Add Line Comments to Selected Text
SelectionLineUncomment Remove Line Comment from Selected Text
SelectionToggleBlockComment Toggle Block Comments on Selected Text
SelectionToggleLineComment Toggle Line Comments on Selected Text
SortSelectedLines Sort Selected Lines
SpellCheck Spell Check Comments and Strings
SpellCheckWord Spell Check Word
SurroundSelectionWithBraces Surround Selection with Braces
SurroundSelectionWithComment Surround Selection with Comments
SurroundSelectionWithIfdefOrRegion Surround Selection with #ifdef or #region
SurroundSelectionWithParentheses Surround Selection with Parentheses
ToggleColoring Toggle Enhanced Syntax Coloring
ToggleRepairCase Toggle Repair Case
ToggleSuggestions Toggle Suggestion Listboxes
ToggleUnderlining Toggle Underlining of Mistyped Symbols and Misspelled Words
VAOutline Open VA Outline
VaSnippetEdit Edit VA Snippets
VaSnippetInsert Insert VA Snippets
VAView Open VA View
VAViewFIS Open File in Solution Dropdown
VAViewSIS Open Symbol in Solution Dropdown

 

你可能感兴趣的:(VS/Win32/MFC,comments,refactoring,dialog,reference,dropdown,menu)