Default Keybindings: Navigation Commands

Microsoft .NET Framework, ASP.NET, Visual C# (CSharp, C Sharp, C-Sharp) Developer Training, Visual Studio


Jump to: navigation, search
Visual C# Keyboard Shortcuts
edit

Navigation commands default keybindings

These are the Visual C# IDE default keybindings for the Navigation commands defined in the Visual C# 2005 profile.

The Visual Studio Navigation commands are used to navigate through files, projects, and solutions.

Command Key(s) Description
Edit.FindAllReferences SHIFT + F12 or

CTRL + K, R

Displays a list of all references for the symbol selected.
Edit.GoToBrace CTRL + ] Moves the cursor location to the matching brace in the source file.
Edit.GoToDefinition F12 Navigates to the declaration for the selected symbol in code.
Edit.GoToNextLocation F8 Moves the cursor to the next item, such as a task in the Task List window or a search match in the Find Results window. Subsequent invocations will move to the next item in the list.
Edit.IncrementalSearch CTRL + I Activates incremental search. If incremental search is on, but no input is passed, the previous search query is used. If search input has been found, next

invocation searches for the next occurrence of the input text.

View.ClassViewGoToSearch,

Combo

CTRL + K, CTRL + V Brings focus to the Class View search box.
View.ForwardBrowseContext CTRL + SHIFT + 7 Moves to the next item called in code in the current file. Uses the Go To Definition navigation stack.
View.PopBrowseContext CTRL + SHIFT + 8 Moves to the previous item called in code in the current file. Uses the Go To Definition navigation stack.
View.NavigateBackward CTRL + MINUS

SIGN (-)

Moves to the previously browsed line of code.
View.NavigateForward CTRL + SHIFT +

MINUS SIGN (-)

Moves to the next browsed line of code.
Edit.FindInFiles CTRL + SHIFT + F Displays the In Files tab of the Find and Replace dialog box.
Edit.FindSymbol ALT + F12 Displays the Find Symbol pane of the Find and Replace dialog box.
View.ViewCode F7 Displays the selected item in Code view of the editor.
View.ViewDesigner SHIFT + F7 Switches to Design view for the current document. Available only in Source view.
View.ViewMarkup SHIFT + F7 Switches to Source view for the current document. Available only in Design view.
Window.MoveToNavigationBar CTRL + F2 Moves the cursor to the drop-down bar located at the top of the code editor when the editor is in Code view or Server Code view.
Edit.Find CTRL + F Displays the Quick tab of the Find and Replace dialog box.
Edit.GoTo CTRL + G Displays the Go To Line dialog box.
Edit.GoToFindCombo CTRL + / Puts the cursor in the Find/Command box on the Standard toolbar.

See also


Today's Deals: Electronics

Personal tools