Professional Documents
Culture Documents
Refactoring Debugging: Microsoft Visual C# Default Key Bindings
Refactoring Debugging: Microsoft Visual C# Default Key Bindings
2009 Microsoft Corporation. All rights reserved. Microsoft, IntelliSense, Visual C#, Visual Studio, and
the Visual Studio logos are trademarks of the Microsoft group of companies. All other trademarks are
the property of their respective owners.
Refactoring
Debug.Autos
CTRL+D, A
Debug.CallStack
CTRL+D, C
Debug.Immediate
CTRL+D, I
Debug.Locals
CTRL+D, L
Debug.QuickWatch
CTRL+D, Q
Debug.Start
F5
Debug.StartWithoutDebugging
CTRL+F5
Debug.StepInto
F11
Debug.StepIntoSpecific
SHIFT+ALT+F11
Debug.StepOut
SHIFT+F11
Debug.StepOver
F10
Debug.StopDebugging
SHIFT+F5
Debug.ToggleBreakpoint
F9
Debug.Watch
CTRL+D, W
Debug.EnableBreakpoint
CTRL+F9
Make Datatip
Transparent
[CTRL]
Test.RunTestsInCurrentContext
CTRL+R, T
Test.RunAllTestsInSolution
CTRL+R, A
Refactor.EncapsulateField
CTRL + R, E
Refactor.ExtractInterface
CTRL + R, I
Refactor.ExtractMethod
CTRL + R, M
Refactor.RemoveParameters
CTRL + R, V
Refactor.Rename
CTRL + R, R or F2
Refactor.ReorderParameters
CTRL + R, O
Refactor!
CTRL +
BACKQUOTE (`)
Build.BuildSolution
F6 or
CTRL+SHIFT+B
Build.BuildSelection
SHIFT+F6
Build
Note:
You can choose to use these key bindings from the Visual C#
Development Settings. To change these settings, go to Tools |
Import and Export Settings... and select Reset All Settings. Then
select Visual C# Development Settings. You could also import only
the key bindings by selecting Import Selected Environment
Settings instead of Reset All Settings. To customize individual key
bindings, go to Tools | Options | Environment | Keyboard.
Microsoft Visual C#
Default Key Bindings
Editing
Edit.CollapseToDefinitions
CTRL + M, O
Edit.HideSelection
Edit.ToggleAllOutlining
CTRL + M, L
Edit.ToggleOutliningExpansion
CTRL + M, M
Edit.StopOutlining
CTRL + M, P
Edit.CommentSelection
Edit.UncommentSelection
Edit.FormatDocument
Edit.FormatSelection
Edit.InsertSnippet
Edit.SurroundWith
CTRL + K, C or
CTRL + E, C
CTRL + K, U or
CTRL + E, U
CTRL + K, D or
CTRL + E, D
CTRL + K, F or
CTRL + E, F
CTRL + K, X
CTRL + K, S
Edit.InvokeSnippetFromShortcut
TAB
Edit.CycleClipboardRing
CTRL + SHIFT + V
Edit.Replace
CTRL + H
Edit.ReplaceInFiles
CTRL + SHIFT + H
View.ShowSmartTag
Edit.ToggleCompletionMode
Edit.<Direction>
ExtendColumn
CTRL + ALT +
SPACEBAR
SHIFT + ALT +
<ARROW KEY>
Edit.GoToNextLocation
Edit.IncrementalSearch
F8
CTRL + I
File
File.NewProject
CTRL + SHIFT + N
File.OpenProject
CTRL + SHIFT + O
Project.AddClass
SHIFT + ALT + C
Project.AddExistingItem
SHIFT + ALT + A
Project.AddNewItem
CTRL + SHIFT + A
Window.ShowEzMDIFileList
CTRL + ALT +
DOWN ARROW
IntelliSense
Edit.FindNext,
Edit.FindPrevious
F3 and SHIFT + F3
Edit.FindNextSelected,
Edit.FindPreviousSelected
CTRL + F3 and
CTRL + SHIFT + F3
View.ForwardBrowseContext
CTRL + SHIFT + 7
View.PopBrowseContext
CTRL + SHIFT + 8
View.NavigateBackward
View.NavigateForward
CTRL + SHIFT +
HYPHEN (-)
Edit.FindInFiles
CTRL + SHIFT + F
Edit.CompleteWord
CTRL + SPACEBAR
or CTRL + K, W
Edit.FindSymbol
ALT + F12
Edit.ListMembers
CTRL + J or
CTRL + K, L
View.ViewCode
F7
Edit.QuickInfo
CTRL + K, I
View.ViewDesigner,
View.ViewMarkup
SHIFT + F7
Window.MoveToNavigationBar
CTRL + F2
Edit.Find
CTRL + F
Edit.GoTo
CTRL + G
Edit.GoToFindCombo
CTRL + /
EditorContextMenus.CodeWindow.ViewCallHierarchy
CTRL + K, T
Edit.NextHighlightedReference,
Edit.PreviousHighlightedReference
Edit.ParameterInfo
Make Completion
List Transparent
CTRL + SHIFT +
SPACEBAR or
CTRL K, P
CTRL
Navigation
Edit.NavigateTo
Edit.FindAllReferences
SHIFT + F12 or
CTRL + K, R
Edit.GoToBrace
CTRL + ]
Edit.GoToDefinition
F12
Window
View.ClassView
CTRL + W, C
View.CodeDefinitionWindow
CTRL + W, D
View.ErrorList
CTRL + W, E
View.ObjectBrowser
CTRL + W, J
View.Output
CTRL + W, O
View.PropertiesWindow
CTRL + W, P
View.SolutionExplorer
CTRL + W, S
View.TaskList
CTRL + W, T
View.Toolbox
CTRL + W, X
View.ServerExplorer
CTRL + W, L
Window.CloseToolWindow
SHIFT + ESC
Data.ShowDataSources
SHIFT + ALT + D
Window.CloseDocumentWindow
CTRL + F4
Window.NextDocumentWindowNav
CTRL + TAB
View.CallHierarchy
CTRL + W, K
View.ZoomIn,
View.ZoomOut
CTRL + SHIFT +
PERIOD (.) and
CTRL + SHIFT +
COMMA (,)