Visual Studio shortcut keys

//

To use surround-with code snippets through keyboard shortcut

  1. In the Visual Studio IDE, open the file that you intend to edit.

  2. In the Code Editor, select text to surround.

  3. Type Ctrl+KCtrl+S.

  4. Select the code snippet from the code snippet list using the mouse, or by typing the name of the code snippet and pressing Tab or Enter.

To use surround-with code snippets through the Edit menu

  1. In the Visual Studio IDE, open the file that you intend to edit.

  2. In the Code Editor, select text to surround.

  3. From the Edit menu, select IntelliSense and then select the Surround With command.

  4. Select the code snippet from the code snippet inserter and then press Tab or Enter.

    Alternatively, you can type the name of the code snippet, and then press Tab or Enter.

To use surround-with code snippets through the context menu

  1. In the Visual Studio IDE, open the file that you intend to edit.

  2. In the Code Editor, select text to surround.

  3. Right-click the selected text and then select the Surround With command from the context menu.

  4. Select the code snippet from the code snippet inserter and then press Tab or Enter.

    Alternatively, you can type the name of the code snippet, and then press Tab or Enter.

//

Build: popular shortcuts

BUILD: POPULAR SHORTCUTS
CommandsKeyboard shortcutsCommand ID
Build solutionCtrl+Shift+BBuild.BuildSolution
CancelCtrl+BreakBuild.Cancel
CompileCtrl+F7Build.Compile
Run code analysis on solutionAlt+F11Build.RunCodeAnalysisonSolution

Debug: popular shortcuts

DEBUG: POPULAR SHORTCUTS
CommandsKeyboard shortcuts [Special contexts]Command ID
Break at functionCtrl+BDebug.BreakatFunction
Break allCtrl+Alt+BreakDebug.BreakAll
Delete all breakpointsCtrl+Shift+F9Debug.DeleteAllBreakpoints
ExceptionsCtrl+Alt+EDebug.Exceptions
Quick watchCtrl+Alt+Q

or Shift+F9
Debug.QuickWatch
RestartCtrl+Shift+F5Debug.Restart
Run to cursorCtrl+F10Debug.RunToCursor
Set next statementCtrl+Shift+F10Debug.SetNextStatement
StartF5Debug.Start
Start without debuggingCtrl+F5Debug.StartWithoutDebugging
Step intoF11Debug.StepInto
Step outShift+F11Debug.StepOut
Step overF10Debug.StepOver
Stop debuggingShift+F5Debug.StopDebugging
Toggle breakpointF9Debug.ToggleBreakpoint

Edit: popular shortcuts

EDIT: POPULAR SHORTCUTS
CommandsKeyboard shortcuts [Special contexts]Command ID
Break lineEnter [Text Editor, Report Designer, Windows Forms Designer]

or Shift+Enter [Text Editor]
Edit.BreakLine
Collapse to definitionsCtrl+MCtrl+O [Text Editor]Edit.CollapseToDefinitions
Comment selectionCtrl+KCtrl+C [Text Editor]Edit.CommentSelection
Complete wordAlt+Right Arrow [Text Editor, Workflow Designer]

or Ctrl+Spacebar [Text Editor, Workflow Designer]

or Ctrl+KW [Workflow Designer]

or Ctrl+K, Ctrl+W [Workflow Designer]
Edit.CompleteWord
CopyCtrl+C

or Ctrl+Insert
Edit.Copy
CutCtrl+X

or Shift+Delete
Edit.Cut
DeleteDelete [Team Explorer]

or Shift+Delete [Sequence Diagram, UML Activity Diagram, Layer Diagram]

or Ctrl+Delete [Class Diagram]
Edit.Delete
FindCtrl+FEdit.Find
Find all referencesShift+F12Edit.FindAllReferences
Find in filesCtrl+Shift+FEdit.FindinFiles
Find nextF3Edit.FindNext
Find next selectedCtrl+F3Edit.FindNextSelected
Format documentCtrl+K, Ctrl+D [Text Editor]Edit.FormatDocument
Format selectionCtrl+K, Ctrl+F [Text Editor]Edit.FormatSelection
Go toCtrl+GEdit.GoTo
Go to declarationCtrl+F12Edit.GoToDeclaration
Go to definitionF12Edit.GoToDefinition
Go to find comboCtrl+DEdit.GoToFindCombo
Go to next locationF8Edit.GoToNextLocation
Insert snippetCtrl+KCtrl+XEdit.InsertSnippet
Insert tabTab [Report Designer, Windows Forms Designer, Text Editor]Edit.InsertTab
Line cutCtrl+L [Text Editor]Edit.LineCut
Line down extend columnShift+Alt+Down Arrow [Text Editor]Edit.LineDownExtendColumn
Line open aboveCtrl+Enter [Text Editor]Edit.LineOpenAbove
List membersCtrl+J [Text Editor, Workflow Designer]

or Ctrl+K, Ctrl+L [Workflow Designer]

or Ctrl+K, L [Workflow Designer]
Edit.ListMembers
Navigate toCtrl+,Edit.NavigateTo
Open fileCtrl+Shift+GEdit.OpenFile
Overtype modeInsert [Text Editor]Edit.OvertypeMode
Parameter infoCtrl+Shift+Spacebar [Text Editor, Workflow Designer]

or Ctrl+K, Ctrl+P [Workflow Designer]

or Ctrl+K, P [Workflow Designer]
Edit.ParameterInfo
PasteCtrl+V

or Shift+Insert
Edit.Paste
Peek definitionAlt+F12 [Text Editor]Edit.PeekDefinition
RedoCtrl+Y

or Shift+Alt+Backspace

or Ctrl+Shift+Z
Edit.Redo
ReplaceCtrl+HEdit.Replace
Select allCtrl+AEdit.SelectAll
Select current wordCtrl+W [Text Editor]Edit.SelectCurrentWord
Selection cancelEsc [Text Editor, Report Designer, Settings Designer, Windows Forms Designer, Managed Resources Editor]Edit.SelectionCancel
Surround withCtrl+K, Ctrl+SEdit.SurroundWith
Tab leftShift+Tab [Text Editor, Report Designer, Windows Forms Editor]Edit.TabLeft
Toggle all outliningCtrl+M, Ctrl+L [Text Editor]Edit.ToggleAllOutlining
Toggle bookmarkCtrl+K, Ctrl+K [Text Editor]Edit.ToggleBookmark
Toggle completion modeCtrl+Alt+Space [Text Editor]Edit.ToggleCompletionMode
Toggle outlining expansionCtrl+M, Ctrl+M [Text Editor]Edit.ToggleOutliningExpansion
Uncomment selectionCtrl+K, Ctrl+U [Text Editor]Edit.UncommentSelection
UndoCtrl+Z

or Alt+Backspace
Edit.Undo
Word delete to endCtrl+Delete [Text Editor]Edit.WordDeleteToEnd
Word delete to startCtrl+Backspace [Text Editor]Edit.WordDeleteToStart

File: popular shortcuts

FILE: POPULAR SHORTCUTS
CommandsKeyboard shortcuts [Special contexts]Command ID
ExitAlt+F4File.Exit
New fileCtrl+NFile.NewFile
New projectCtrl+Shift+NFile.NewProject
New web siteShift+Alt+NFile.NewWebSite
Open fileCtrl+OFile.OpenFile
Open projectCtrl+Shift+OFile.OpenProject
Open web siteShift+Alt+OFile.OpenWebSite
RenameF2 [Team Explorer]File.Rename
Save allCtrl+Shift+SFile.SaveAll
Save selected itemsCtrl+SFile.SaveSelectedItems
View in browserCtrl+Shift+WFile.ViewinBrowser

Project: popular shortcuts

PROJECT: POPULAR SHORTCUTS
CommandsKeyboard shortcuts [Special contexts]Command ID
Add existing itemShift+Alt+AProject.AddExistingItem
Add new itemCtrl+Shift+AProject.AddNewItem

Refactor: popular shortcuts

REFACTOR: POPULAR SHORTCUTS
CommandKeyboard shortcut [Special contexts]Command ID
Extract methodCtrl+R, Ctrl+MRefactor.ExtractMethod

Tools: popular shortcuts

TOOLS: POPULAR SHORTCUTS
CommandKeyboard shortcut [Special contexts]Command ID
Attach to processCtrl+Alt+PTools.AttachtoProcess

View: popular shortcuts

VIEW: POPULAR SHORTCUTS
CommandsKeyboard shortcuts [Special contexts]Command ID
Class viewCtrl+Shift+CView.ClassView
Edit labelF2View.EditLabel
Error listCtrl+\, Ctrl+E

or Ctrl+\, E
View.ErrorList
Navigate backwardCtrl+-View.NavigateBackward
Navigate forwardCtrl+Shift+-View.NavigateForward
Object browserCtrl+Alt+JView.ObjectBrowser
OutputCtrl+Alt+OView.Output
Properties windowF4View.PropertiesWindow
RefreshF5 [Team Explorer]View.Refresh
Server explorerCtrl+Alt+SView.ServerExplorer
Show smart tagCtrl+.

or Shift+Alt+F10 [HTML Editor Design View]
View.ShowSmartTag
Solution explorerCtrl+Alt+LView.SolutionExplorer
TFS Team explorerCtrl+\, Ctrl+MView.TfsTeamExplorer
ToolboxCtrl+Alt+XView.Toolbox
View codeEnter [Class Diagram]

or F7 [Settings Designer]
View.ViewCode
View designerShift+F7 [HTML Editor Source View]View.ViewDesigner

Window: popular shortcuts

WINDOW: POPULAR SHORTCUTS
CommandsKeyboard shortcuts [Special contexts]Command ID
Activate document windowEscWindow.ActivateDocumentWindow
Close document windowCtrl+F4Window.CloseDocumentWindow
Next document windowCtrl+F6Window.NextDocumentWindow
Next document window navCtrl+TabWindow.NextDocumentWindowNav
Next split paneF6Window.NextSplitPane

Global shortcuts

These keyboard shortcuts are global, which means that you can use them when any Visual Studio window has focus.

Analyze

ANALYZE
CommandsKeyboard shortcutsCommand ID
Navigate backwardShift+Alt+3Analyze.NavigateBackward
Navigate forwardShift+Alt+4Analyze.NavigateForward

Architecture

ARCHITECTURE
CommandsKeyboard shortcutsCommand ID
New diagramCtrl+\, Ctrl+NArchitecture.NewDiagram

Build

BUILD
CommandsKeyboard shortcutsCommand ID
Build selectionCtrl+B (Visual Studio 2019)Build.BuildSelection
Build solutionCtrl+Shift+BBuild.BuildSolution
CancelCtrl+BreakBuild.Cancel
CompileCtrl+F7Build.Compile
Run code analysis on solutionAlt+F11Build.RunCodeAnalysisonSolution

Class View context menus

CLASS VIEW CONTEXT MENUS
CommandsKeyboard shortcutsCommand ID
PropertiesAlt+EnterClassViewContextMenus.ClassViewMultiselectProjectreferencesItems.Properties

Debug

DEBUG
CommandsKeyboard shortcutsCommand ID
Apply code changesAlt+F10Debug.ApplyCodeChanges
Attach to processCtrl+Alt+PDebug.AttachtoProcess
AutosCtrl+Alt+V, ADebug.Autos
Break allCtrl+Alt+BreakDebug.BreakAll
BreakpointsCtrl+Alt+BDebug.Breakpoints
Call stackCtrl+Alt+CDebug.CallStack
Delete all breakpointsCtrl+Shift+F9Debug.DeleteAllBreakpoints
LaunchAlt+F2Debug.DiagnosticsHub.Launch
DisassemblyCtrl+Alt+DDebug.Disassembly
Dom explorerCtrl+Alt+V, DDebug.DOMExplorer
Enable breakpointCtrl+F9Debug.EnableBreakpoint
ExceptionsCtrl+Alt+EDebug.Exceptions
Function breakpointCtrl+K, B (Visual Studio 2019)
Ctrl+B (Visual Studio 2017)
Debug.FunctionBreakpoint
Go to previous call or IntelliTrace eventCtrl+Shift+F11Debug.GoToPreviousCallorIntelliTraceEvent
Start diagnosticsAlt+F5Debug.Graphics.StartDiagnostics
ImmediateCtrl+Alt+IDebug.Immediate
IntelliTrace callsCtrl+Alt+Y, TDebug.IntelliTraceCalls
IntelliTrace eventsCtrl+Alt+Y, FDebug.IntelliTraceEvents
JavaScript consoleCtrl+Alt+V, CDebug.JavaScriptConsole
LocalsCtrl+Alt+V, LDebug.Locals
Process comboCtrl+5Debug.LocationToolbar.ProcessCombo
Stack frame comboCtrl+7Debug.LocationToolbar.StackFrameCombo
Thread comboCtrl+6Debug.LocationToolbar.ThreadCombo
Toggle current thread flagged stateCtrl+8Debug.LocationToolbar.ToggleCurrentThreadFlaggedState
Toggle flagged threadsCtrl+9Debug.LocationToolbar.ToggleFlaggedThreads
Memory 1Ctrl+Alt+M, 1Debug.Memory1
Memory 2Ctrl+Alt+M, 2Debug.Memory2
Memory 3Ctrl+Alt+M, 3Debug.Memory3
Memory 4Ctrl+Alt+M, 4Debug.Memory4
ModulesCtrl+Alt+UDebug.Modules
Parallel stacksCtrl+Shift+D, SDebug.ParallelStacks
Parallel watch 1Ctrl+Shift+D, 1Debug.ParallelWatch1
Parallel watch 2Ctrl+Shift+D, 2Debug.ParallelWatch2
Parallel watch 3Ctrl+Shift+D, 3Debug.ParallelWatch3
Parallel watch 4Ctrl+Shift+D, 4Debug.ParallelWatch4
ProcessesCtrl+Alt+ZDebug.Processes
Quick watchShift+F9 or Ctrl+Alt+QDebug.QuickWatch
Re attach to processShift+Alt+PDebug.ReattachtoProcess
Refresh windowsappCtrl+Shift+RDebug.RefreshWindowsapp
RegistersCtrl+Alt+GDebug.Registers
RestartCtrl+Shift+F5Debug.Restart
Run to cursorCtrl+F10Debug.RunToCursor
Set next statementCtrl+Shift+F10Debug.SetNextStatement
Show call stack on code mapCtrl+Shift+`Debug.ShowCallStackonCodeMap
Show next statementAlt+Num *Debug.ShowNextStatement
StartF5Debug.Start
Start windows phone application analysisAlt+F1Debug.StartWindowsPhoneApplicationAnalysis
Start without debuggingCtrl+F5Debug.StartWithoutDebugging
Step intoF11Debug.StepInto
Step into current processCtrl+Alt+F11Debug.StepIntoCurrentProcess
Step into specificShift+Alt+F11Debug.StepIntoSpecific
Step outShift+F11Debug.StepOut
Step out current processCtrl+Shift+Alt+F11Debug.StepOutCurrentProcess
Step overF10 (When debugging: Performs a step over action)Debug.StepOver
Step overF10 (When not debugging: Starts debugging and stops on the first line of user code)Debug.StepOver
Step over current processCtrl+Alt+F10Debug.StepOverCurrentProcess
Stop debuggingShift+F5Debug.StopDebugging
Stop performance analysisShift+Alt+F2Debug.StopPerformanceAnalysis
TasksCtrl+Shift+D, KDebug.Tasks
ThreadsCtrl+Alt+HDebug.Threads
Toggle breakpointF9Debug.ToggleBreakpoint
Toggle disassemblyCtrl+F11Debug.ToggleDisassembly
Watch 1Ctrl+Alt+W, 1Debug.Watch1
Watch 2Ctrl+Alt+W, 2Debug.Watch2
Watch 3Ctrl+Alt+W, 3Debug.Watch3
Watch 4Ctrl+Alt+W, 4Debug.Watch4

Debugger context menus

DEBUGGER CONTEXT MENUS
CommandsKeyboard shortcutsCommand ID
DeleteAlt+F9, DDebuggerContextMenus.BreakpointsWindow.Delete
Go to disassemblyAlt+F9, ADebuggerContextMenus.BreakpointsWindow.GoToDisassembly
Go to source codeAlt+F9, SDebuggerContextMenus.BreakpointsWindow.GoToSourceCode

Diagnostics Hub

DIAGNOSTICS HUB
CommandKeyboard shortcutCommand ID
Stop collectionCtrl+Alt+F2DiagnosticsHub.StopCollection

Edit

EDIT
CommandsKeyboard shortcutsCommand ID
CopyCtrl+C

or

Ctrl+Ins
Edit.Copy
CutCtrl+X

or

Shift+Delete
Edit.Cut
Cycle clipboard ringCtrl+Shift+V

or

Ctrl+Shift+Ins
Edit.CycleClipboardRing
DeleteDeleteEdit.Delete
DuplicateCtrl+DEdit.Duplicate
FindCtrl+FEdit.Find
Find all referencesShift+F12Edit.FindAllReferences
Find in filesCtrl+Shift+FEdit.FindinFiles
Find nextF3Edit.FindNext
Find next selectedCtrl+F3Edit.FindNextSelected
Find previousShift+F3Edit.FindPrevious
Find previous selectedCtrl+Shift+F3Edit.FindPreviousSelected
Generate methodCtrl+K, Ctrl+MEdit.GenerateMethod
Go toCtrl+GEdit.GoTo
Go to allCtrl+, or Ctrl+TEdit.GoToAll
Go to declarationCtrl+F12Edit.GoToDeclaration
Go to definitionF12Edit.GoToDefinition
Go to memberCtrl+1, Ctrl+M or Ctrl+1, M or Alt+\Edit.GoToMember
Go to next locationF8 (Next error in Error List or Output window)Edit.GoToNextLocation
Go to prev locationShift+F8 (Previous error in Error List or Output window)Edit.GoToPrevLocation
Insert snippetCtrl+K, Ctrl+XEdit.InsertSnippet
Move control downCtrl+Down ArrowEdit.MoveControlDown
Move control down gridDown ArrowEdit.MoveControlDownGrid
Move control leftCtrl+Left ArrowEdit.MoveControlLeft
Move control left gridLeft ArrowEdit.MoveControlLeftGrid
Move control rightCtrl+Right ArrowEdit.MoveControlRight
Move control right gridRight ArrowEdit.MoveControlRightGrid
Move control upCtrl+Up ArrowEdit.MoveControlUp
Move control up gridUp ArrowEdit.MoveControlUpGrid
Next bookmarkCtrl+K, Ctrl+NEdit.NextBookmark
Next bookmark in folderCtrl+Shift+K, Ctrl+Shift+NEdit.NextBookmarkInFolder
Open fileCtrl+Shift+G (Opens the file name under the cursor)Edit.OpenFile
PasteCtrl+V

or

Shift+Ins
Edit.Paste
Previous bookmarkCtrl+K, Ctrl+PEdit.PreviousBookmark
Previous bookmark in folderCtrl+Shift+K, Ctrl+Shift+PEdit.PreviousBookmarkInFolder
Quick find symbolShift+Alt+F12Edit.QuickFindSymbol
RedoCtrl+Y

or

Ctrl+Shift+Z

or

Shift+Alt+Backspace
Edit.Redo
Refresh remote referencesCtrl+Shift+JEdit.RefreshRemoteReferences
ReplaceCtrl+HEdit.Replace
Replace in filesCtrl+Shift+HEdit.ReplaceinFiles
Select allCtrl+AEdit.SelectAll
Select next controlTabEdit.SelectNextControl
Select previous controlShift+TabEdit.SelectPreviousControl
Show tile gridEnterEdit.ShowTileGrid
Size control downCtrl+Shift+Down ArrowEdit.SizeControlDown
Size control down gridShift+Down ArrowEdit.SizeControlDownGrid
Size control leftCtrl+Shift+Left ArrowEdit.SizeControlLeft
Size control left gridShift+Left ArrowEdit.SizeControlLeftGrid
Size control rightCtrl+Shift+Right ArrowEdit.SizeControlRight
Size control right gridShift+Right ArrowEdit.SizeControlRightGrid
Size control upCtrl+Shift+Up ArrowEdit.SizeControlUp
Size control up gridShift+Up ArrowEdit.SizeControlUpGrid
Stop searchAlt+F3, SEdit.StopSearch
Surround withCtrl+K, Ctrl+SEdit.SurroundWith
UndoCtrl+Z

or

Alt+Backspace
Edit.Undo

Editor context menus

EDITOR CONTEXT MENUS
CommandsKeyboard shortcutsCommand ID
Breakpoint conditionsAlt+F9, CEditorContextMenus.CodeWindow.Breakpoint.BreakpointConditions
Breakpoint edit labelsAlt+F9, LEditorContextMenus.CodeWindow.Breakpoint.BreakpointEditlabels
Insert temporary breakpointShift+Alt+F9, TEditorContextMenus.CodeWindow.Breakpoint.InsertTemporaryBreakpoint
Show itemCtrl+`EditorContextMenus.CodeWindow.CodeMap.ShowItem
ExecuteCtrl+Alt+F5EditorContextMenus.CodeWindow.Execute
Go to viewCtrl+M, Ctrl+GEditorContextMenus.CodeWindow.GoToView
Toggle header code fileCtrl+K, Ctrl+O (letter 'O')EditorContextMenus.CodeWindow.ToggleHeaderCodeFile
View call hierarchyCtrl+K, Ctrl+T

or

Ctrl+K, T
EditorContextMenus.CodeWindow.ViewCallHierarchy

File

FILE
CommandsKeyboard shortcutsCommand ID
ExitAlt+F4File.Exit
New fileCtrl+NFile.NewFile
New projectCtrl+Shift+NFile.NewProject
New web siteShift+Alt+NFile.NewWebSite
Open fileCtrl+O (letter 'O')File.OpenFile
Open projectCtrl+Shift+O (letter 'O')File.OpenProject
Open web siteShift+Alt+O (letter 'O')File.OpenWebSite
PrintCtrl+PFile.Print
Save allCtrl+Shift+SFile.SaveAll
Save selected itemsCtrl+SFile.SaveSelectedItems
View in browserCtrl+Shift+WFile.ViewinBrowser

Help

HELP
CommandsKeyboard shortcutsCommand ID
Add and remove help contentCtrl+Alt+F1Help.AddandRemoveHelpContent
F1 helpF1Help.F1Help
View helpCtrl+F1Help.ViewHelp
Window helpShift+F1Help.WindowHelp

Load test

CommandKeyboard shortcutCommand ID
Jump to counter paneCtrl+R, QLoadTest.JumpToCounterPane

Other context menus

CommandKeyboard shortcutCommand ID
Add new diagramInsertOtherContextMenus.MicrosoftDataEntityDesignContext.AddNewDiagram

Project

CommandsKeyboard shortcutsCommand ID
Add existing itemShift+Alt+AProject.AddExistingItem
Add new itemCtrl+Shift+AProject.AddNewItem
Class wizardCtrl+Shift+XProject.ClassWizard
OverrideCtrl+Alt+InsProject.Override
Preview changesAlt+; then Alt+CProject.Previewchanges
Publish selected filesAlt+; then Alt+PProject.Publishselectedfiles
Replace selected files from serverAlt+; then Alt+RProject.Replaceselectedfilesfromserver

Project and solution context menus

CommandsKeyboard shortcutsCommand ID
Move downAlt+Down ArrowProjectandSolutionContextMenus.Item.MoveDown
Move upAlt+Up ArrowProjectandSolutionContextMenus.Item.MoveUp

Refactor

CommandsKeyboard shortcutsCommand ID
Encapsulate fieldCtrl+R, Ctrl+ERefactor.EncapsulateField
Extract interfaceCtrl+R, Ctrl+IRefactor.ExtractInterface
Extract methodCtrl+R, Ctrl+MRefactor.ExtractMethod
Remove parametersCtrl+R, Ctrl+VRefactor.RemoveParameters
RenameCtrl+R, Ctrl+RRefactor.Rename
Reorder parametersCtrl+R, Ctrl+O (letter 'O')Refactor.ReorderParameters

Solution Explorer

CommandsKeyboard shortcutsCommand ID
Open files filterCtrl+[O (letter 'O')

or

Ctrl+[Ctrl+O (letter 'O')
SolutionExplorer.OpenFilesFilter
Pending changes filterCtrl+[P

or

Ctrl+[Ctrl+P
SolutionExplorer.PendingChangesFilter
Sync with active documentCtrl+[S

or

Ctrl+[Ctrl+S
SolutionExplorer.SyncWithActiveDocument

Team

CommandsKeyboard shortcutsCommand ID
Go to git branchesCtrl+0 (zero), Ctrl+N

or

Ctrl+0, N
Team.Git.GoToGitBranches
Go to git changesCtrl+0 (zero), Ctrl+G

or

Ctrl+0, G
Team.Git.GoToGitChanges
Go to git commitsCtrl+0 (zero), Ctrl+O (letter 'O')

or

Ctrl+0, O
Team.Git.GoToGitCommits
Team explorer searchCtrl+'Team.TeamExplorerSearch

Team Foundation context menus

CommandsKeyboard shortcutsCommand ID
Go to buildsCtrl+0 (zero), Ctrl+B

or

Ctrl+0, B
TeamFoundationContextMenus.Commands.GoToBuilds
Go to connectCtrl+0 (zero), Ctrl+C

or

Ctrl+0, C
TeamFoundationContextMenus.Commands.GoToConnect
Go to documentsCtrl+0 (zero), Ctrl+D

or

Ctrl+0, D
TeamFoundationContextMenus.Commands.GoToDocuments
Go to homeCtrl+0 (zero), Ctrl+H

or

Ctrl+0, H
TeamFoundationContextMenus.Commands.GoToHome
Go to my workCtrl+0 (zero), Ctrl+M

or

Ctrl+0, M
TeamFoundationContextMenus.Commands.GoToMyWork
Go to pending changesCtrl+0 (zero), Ctrl+P

or

Ctrl+0, P
TeamFoundationContextMenus.Commands.GoToPendingChanges
Go to reportsCtrl+0 (zero), Ctrl+R

or

Ctrl+0, R
TeamFoundationContextMenus.Commands.GoToReports
Go to settingsCtrl+0 (zero), Ctrl+S

or

Ctrl+0, S
TeamFoundationContextMenus.Commands.GoToSettings
Go to web accessCtrl+0 (zero), Ctrl+A

or

Ctrl+0, A
TeamFoundationContextMenus.Commands.GoToWebAccess
Go to work itemsCtrl+0 (zero), Ctrl+W

or

Ctrl+0, W
TeamFoundationContextMenus.Commands.GoToWorkItems

Test

CommandsKeyboard shortcutsCommand ID
Use coded ui test builderCtrl+\, Ctrl+CTest.UseCodedUITestBuilder
Use existing action recordingCtrl+\, Ctrl+ATest.UseExistingActionRecording

Test Explorer

CommandsKeyboard shortcutsCommand ID
Debug all testsCtrl+R, Ctrl+ATestExplorer.DebugAllTests
Debug all tests in contextCtrl+R, Ctrl+TTestExplorer.DebugAllTestsInContext
Debug last runCtrl+R, DTestExplorer.DebugLastRun
Repeat last runCtrl+R, LTestExplorer.RepeatLastRun
Run all testsCtrl+R, ATestExplorer.RunAllTests
Run all tests in contextCtrl+R, TTestExplorer.RunAllTestsInContext
Show test explorerCtrl+E, TTestExplorer.ShowTestExplorer
Open tabCtrl+E, LLiveUnitTesting.OpenTab
Code coverage resultsCtrl+E, CTest.CodeCoverageResults

Tools

CommandsKeyboard shortcutsCommand ID
Attach to processCtrl+Alt+PTools.AttachtoProcess
Code snippets managerCtrl+K, Ctrl+BTools.CodeSnippetsManager
Force gcCtrl+Shift+Alt+F12, Ctrl+Shift+Alt+F12Tools.ForceGC

View

CommandsKeyboard shortcutsCommand ID
All windowsShift+Alt+MView.AllWindows
Architecture explorerCtrl+\, Ctrl+RView.ArchitectureExplorer
BackwardAlt+Left Arrow (Functions differently from View.NavigateBackward in Text Editor)View.Backward
Bookmark windowCtrl+K, Ctrl+WView.BookmarkWindow
Browse nextCtrl+Shift+1View.BrowseNext
Browse previousCtrl+Shift+2View.BrowsePrevious
Call hierarchyCtrl+Alt+KView.CallHierarchy
Class viewCtrl+Shift+CView.ClassView
Class view go to search comboCtrl+K, Ctrl+VView.ClassViewGoToSearchCombo
Code definition windowCtrl+\, D

or

Ctrl+\, Ctrl+D
View.CodeDefinitionWindow
Command windowCtrl+Alt+AView.CommandWindow
Data sourcesShift+Alt+DView.DataSources
Document outlineCtrl+Alt+TView.DocumentOutline
Edit labelF2View.EditLabel
Error listCtrl+\, E

or

Ctrl+\, Ctrl+E
View.ErrorList
F# interactiveCtrl+Alt+FView.F#Interactive
Find symbol resultsCtrl+Alt+F12View.FindSymbolResults
ForwardAlt+Right Arrow (Functions differently from View.NavigateForward in Text Editor)View.Forward
Forward browse contextCtrl+Shift+7View.ForwardBrowseContext
Full screenShift+Alt+EnterView.FullScreen
Navigate backwardCtrl+-View.NavigateBackward
Navigate forwardCtrl+Shift+-View.NavigateForward
Next errorCtrl+Shift+F12View.NextError
NotificationsCtrl+W, N

or

Ctrl+W, Ctrl+N
View.Notifications
Object browserCtrl+Alt+JView.ObjectBrowser
Object browser go to search comboCtrl+K, Ctrl+RView.ObjectBrowserGoToSearchCombo
OutputCtrl+Alt+O (letter 'O')View.Output
Pop browse contextCtrl+Shift+8 (C++ only)View.PopBrowseContext
Properties windowF4View.PropertiesWindow
Property pagesShift+F4View.PropertyPages
Resource viewCtrl+Shift+EView.ResourceView
Server explorerCtrl+Alt+SView.ServerExplorer
Show smart tagShift+Alt+F10

or

Ctrl+.
View.ShowSmartTag
Solution explorerCtrl+Alt+LView.SolutionExplorer
SQL server object explorerCtrl+\, Ctrl+SView.SQLServerObjectExplorer
Task listCtrl+\, T

or

Ctrl+\, Ctrl+T
View.TaskList
TFS team explorerCtrl+\, Ctrl+MView.TfsTeamExplorer
ToolboxCtrl+Alt+XView.Toolbox
UML model explorerCtrl+\, Ctrl+UView.UMLModelExplorer
View codeF7View.ViewCode
View designerShift+F7View.ViewDesigner
Web browserCtrl+Alt+RView.WebBrowser
Zoom inCtrl+Shift+.View.ZoomIn
Zoom outCtrl+Shift+,View.ZoomOut
Show Test ExplorerCtrl+E, TTestExplorer.ShowTestExplorer

Window

CommandsKeyboard shortcutsCommand ID
Activate document windowEscWindow.ActivateDocumentWindow
Add tab to selectionCtrl+Shift+Alt+SpaceWindow.AddTabtoSelection
Close document windowCtrl+F4Window.CloseDocumentWindow
Close tool windowShift+EscWindow.CloseToolWindow
Keep tab openCtrl+Alt+HomeWindow.KeepTabOpen
Move to navigation barCtrl+F2Window.MovetoNavigationBar
Next document windowCtrl+F6Window.NextDocumentWindow
Next document window navCtrl+TabWindow.NextDocumentWindowNav
Next paneAlt+F6Window.NextPane
Next split paneF6Window.NextSplitPane
Next tabCtrl+Alt+PgDn

or

Ctrl+PgDn
Window.NextTab
Next tab and add to selectionCtrl+Shift+Alt+PgDnWindow.NextTabandAddtoSelection
Next tool window navAlt+F7Window.NextToolWindowNav
Previous document windowCtrl+Shift+F6Window.PreviousDocumentWindow
Previous document window navCtrl+Shift+TabWindow.PreviousDocumentWindowNav
Previous paneShift+Alt+F6Window.PreviousPane
Previous split paneShift+F6Window.PreviousSplitPane
Previous tabCtrl+Alt+PgUp

or

Ctrl+PgUp
Window.PreviousTab
Previous tab and add to selectionCtrl+Shift+Alt+PgUpWindow.PreviousTabandAddtoSelection
Previous tool window navShift+Alt+F7Window.PreviousToolWindowNav
Quick launchCtrl+QWindow.QuickLaunch
Quick launch previous categoryCtrl+Shift+QWindow.QuickLaunchPreviousCategory
Show dock menuAlt+-Window.ShowDockMenu
Show Ex MDI file listCtrl+Alt+Down ArrowWindow.ShowEzMDIFileList
Solution explorer searchCtrl+;Window.SolutionExplorerSearch
Window searchAlt+`Window.WindowSearch

Azure

CommandsKeyboard shortcutsCommand ID
Retry mobile service script operationCtrl+Num *, Ctrl+RWindowsAzure.RetryMobileServiceScriptOperation
Show mobile service script error detailsCtrl+Num *, Ctrl+DWindowsAzure.ShowMobileServiceScriptErrorDetails

Context-specific shortcuts

ADO.NET Entity Data Model Designer

The shortcuts specific to this context are:

CommandsKeyboard shortcutsCommand ID
DownAlt+Down ArrowOtherContextMenus.MicrosoftDataEntityDesignContext.MoveProperties.Down
Down 5Alt+PgDnOtherContextMenus.MicrosoftDataEntityDesignContext.MoveProperties.Down5
To bottomAlt+EndOtherContextMenus.MicrosoftDataEntityDesignContext.MoveProperties.ToBottom
To topAlt+HomeOtherContextMenus.MicrosoftDataEntityDesignContext.MoveProperties.ToTop
UpAlt+Up ArrowOtherContextMenus.MicrosoftDataEntityDesignContext.MoveProperties.Up
Up 5Alt+PgUpOtherContextMenus.MicrosoftDataEntityDesignContext.MoveProperties.Up5
RenameCtrl+R, ROtherContextMenus.MicrosoftDataEntityDesignContext.Refactor.Rename
Remove from diagramShift+DelOtherContextMenus.MicrosoftDataEntityDesignContext.RemovefromDiagram
Entity data model browserCtrl+1View.EntityDataModelBrowser
Entity data model mapping detailsCtrl+2View.EntityDataModelMappingDetails

Class diagram

The shortcuts specific to this context are:

CommandsKeyboard shortcutsCommand ID
CollapseNum -ClassDiagram.Collapse
ExpandNum +ClassDiagram.Expand
DeleteCtrl+DelEdit.Delete
Expand collapse base type listShift+Alt+BEdit.ExpandCollapseBaseTypeList
Navigate to lollipopShift+Alt+LEdit.NavigateToLollipop
Remove from diagramDeleteEdit.RemovefromDiagram
View codeEnterView.ViewCode

Coded UI Test Editor

The shortcuts specific to this context are:

CommandsKeyboard shortcutsCommand ID
Copy reference to clipboardCtrl+COtherContextMenus.UITestEditorContextMenu.CopyReferencetoClipboard
Insert delay beforeCtrl+Alt+DOtherContextMenus.UITestEditorContextMenu.InsertDelayBefore
Locate allShift+Alt+LOtherContextMenus.UITestEditorContextMenu.LocateAll
Locate the ui controlCtrl+Shift+LOtherContextMenus.UITestEditorContextMenu.LocatetheUIControl
Move codeCtrl+Alt+COtherContextMenus.UITestEditorContextMenu.Movecode
Split into a new methodCtrl+Shift+TOtherContextMenus.UITestEditorContextMenu.Splitintoanewmethod

DataSet Editor

The shortcuts specific to this context are:

CommandsKeyboard shortcutsCommand ID
Insert columnInsertOtherContextMenus.ColumnContext.InsertColumn
ColumnCtrl+LOtherContextMenus.DbTableContext.Add.Column

Difference Viewer

The shortcuts specific to this context are:

CommandsKeyboard shortcutsCommand ID
Ignore trim whitespaceCtrl+\, Ctrl+SpacebarDiff.IgnoreTrimWhitespace
Inline viewCtrl+\, Ctrl+1Diff.InlineView
Left only viewCtrl+\, Ctrl+3Diff.LeftOnlyView
Next differenceF8Diff.NextDifference
Previous differenceShift+F8Diff.PreviousDifference
Right only viewCtrl+\, Ctrl+4Diff.RightOnlyView
Side by side viewCtrl+\, Ctrl+2Diff.SideBySideView
Switch between left and rightCtrl+\, Ctrl+TabDiff.SwitchBetweenLeftAndRight
Synchronize view toggleCtrl+\, Ctrl+Down ArrowDiff.SynchronizeViewToggle
Add commentCtrl+Shift+KEditorContextMenus.CodeWindow.AddComment
Edit local fileCtrl+Shift+PEditorContextMenus.CodeWindow.EditLocalFile

DOM Explorer

The shortcuts specific to this context are:

CommandsKeyboard shortcutsCommand ID
RefreshF5DOMExplorer.Refresh
Select elementCtrl+BDOMExplorer.SelectElement
Show layoutCtrl+Shift+IDOMExplorer.ShowLayout

F# interactive

The shortcuts specific to this context are:

CommandKeyboard shortcutCommand ID
Cancel interactive evaluationCtrl+BreakOtherContextMenus.FSIConsoleContext.CancelInteractiveEvaluation

Graph Document Editor

The shortcuts specific to this context are:

CommandsKeyboard shortcutsCommand ID
Add nodeInsertArchitectureContextMenus.DirectedGraphContextMenu.Advanced.Add.AddNode
Both dependenciesBArchitectureContextMenus.DirectedGraphContextMenu.Advanced.Select.BothDependencies
Incoming dependenciesIArchitectureContextMenus.DirectedGraphContextMenu.Advanced.Select.IncomingDependencies
Outgoing dependenciesOArchitectureContextMenus.DirectedGraphContextMenu.Advanced.Select.OutgoingDependencies
New commentCtrl+Shift+K

or

Ctrl+E, C
ArchitectureContextMenus.DirectedGraphContextMenu.NewComment
RemoveDeleteArchitectureContextMenus.DirectedGraphContextMenu.Remove
RenameF2ArchitectureContextMenus.DirectedGraphContextMenu.Rename

Graphics diagnostics

The shortcuts specific to this context are:

CommandsKeyboard shortcutsCommand ID
Capture frameNoneDebug.Graphics.CaptureFrame
Move pixel selection downShift+Alt+Down ArrowGraphics.MovePixelSelectionDown
Move pixel selection leftShift+Alt+Left ArrowGraphics.MovePixelSelectionLeft
Move pixel selection rightShift+Alt+Right ArrowGraphics.MovePixelSelectionRight
Move pixel selection upShift+Alt+Up ArrowGraphics.MovePixelSelectionUp
Zoom to actual sizeShift+Alt+0 (zero)Graphics.ZoomToActualSize
Zoom to fit in windowShift+Alt+9Graphics.ZoomToFitInWindow
Zoom inShift+Alt+=Graphics.ZoomIn
Zoom outShift+Alt+-Graphics.ZoomOut

HTML Editor

The shortcuts specific to this context are:

CommandKeyboard shortcutCommand ID
Go to controllerCtrl+M, Ctrl+GOtherContextMenus.HTMLContext.GoToController

HTML Editor Design View

The shortcuts specific to this context are:

CommandsKeyboard shortcutsCommand ID
Move control downCtrl+Down ArrowEdit.MoveControlDown
Move control upCtrl+Up ArrowEdit.MoveControlUp
BoldCtrl+BFormat.Bold
Convert to hyperlinkCtrl+LFormat.ConverttoHyperlink
Insert bookmarkCtrl+Shift+LFormat.InsertBookmark
ItalicCtrl+IFormat.Italic
UnderlineCtrl+UFormat.Underline
Add content pageCtrl+M, Ctrl+CProject.AddContentPage
Column to the leftCtrl+Alt+Left ArrowTable.ColumntotheLeft
Column to the rightCtrl+Alt+Right ArrowTable.ColumntotheRight
Row aboveCtrl+Alt+Up ArrowTable.RowAbove
Row belowCtrl+Alt+Down ArrowTable.RowBelow
Net nonvisual controlsCtrl+Shift+NView.ASP.NETNonvisualControls
Edit masterCtrl+M, Ctrl+MView.EditMaster
Next viewCtrl+PgDnView.NextView
Show smart tagShift+Alt+F10View.ShowSmartTag
View markupShift+F7View.ViewMarkup
Previous tabCtrl+PgUpWindow.PreviousTab

HTML Editor Source View

The shortcuts specific to this context are:

CommandsKeyboard shortcutsCommand ID
Go to controllerCtrl+M, Ctrl+GOtherContextMenus.HTMLContext.GoToController
Next viewCtrl+PgDnView.NextView
Synchronize viewsCtrl+Shift+YView.SynchronizeViews
View designerShift+F7View.ViewDesigner
Previous tabCtrl+PgUpWindow.PreviousTab

Layer diagram

The shortcuts specific to this context are:

CommandKeyboard shortcutCommand ID
DeleteShift+DeleteEdit.Delete

Managed Resources Editor

The shortcuts specific to this context are:

CommandsKeyboard shortcutsCommand ID
Edit cellF2Edit.EditCell
RemoveDeleteEdit.Remove
Remove rowCtrl+DeleteEdit.RemoveRow
Selection cancelEscapeEdit.SelectionCancel
AudioCtrl+4Resources.Audio
FilesCtrl+5Resources.Files
IconsCtrl+3Resources.Icons
ImagesCtrl+2Resources.Images
OtherCtrl+6Resources.Other
StringsCtrl+1Resources.Strings

Merge Editor window

The shortcuts specific to this context are:

CommandsKeyboard shortcutsCommand ID
Set focus on left windowAlt+1TeamFoundationContextMenus.MergeContextMenu.SetFocusonLeftWindow
Set focus on result windowAlt+2TeamFoundationContextMenus.MergeContextMenu.SetFocusonResultWindow
Set focus on right windowAlt+3TeamFoundationContextMenus.MergeContextMenu.SetFocusonRightWindow

Microsoft SQL Server Data Tools, Schema Compare

The shortcuts specific to this context are:

CommandsKeyboard shortcutsCommand ID
SSDT schema compare compareShift+Alt+CSQL.SSDTSchemaCompareCompare
SSDT schema compare generate scriptShift+Alt+GSQL.SSDTSchemaCompareGenerateScript
SSDT schema compare next changeShift+Alt+.SQL.SSDTSchemaCompareNextChange
SSDT schema compare previous changeShift+Alt+,SQL.SSDTSchemaComparePreviousChange
SSDT schema compare stopAlt+BreakSQL.SSDTSchemaCompareStop
SSDT schema compare write updatesShift+Alt+USQL.SSDTSchemaCompareWriteUpdates

Microsoft SQL Server Data Tools, Table Designer

The shortcuts specific to this context are:

CommandsKeyboard shortcutsCommand ID
CommitAllEditsShift+Alt+U
Expand wildcardsCtrl+R, E

or

Ctrl+R, Ctrl+E
SQL.ExpandWildcards
Fully qualify namesCtrl+R, Q

or

Ctrl+R, Ctrl+Q
SQL.FullyqualifyNames
Move to schemaCtrl+R, M

or

Ctrl+R, Ctrl+M
SQL.MovetoSchema
RenameF2

or

Ctrl+R, R

or

Ctrl+R, Ctrl+R
SQL.Rename
ViewFileInScriptPanelShift+Alt+PgDn

Microsoft SQL Server Data Tools, T-SQL Editor

The shortcuts specific to this context are:

CommandsKeyboard shortcutsCommand ID
CommitAllEditsShift+Alt+U
Execute with debuggerAlt+F5SQL.ExecuteWithDebugger
Expand wildcardsCtrl+R, E

or

Ctrl+R, Ctrl+E
SQL.ExpandWildcards
Fully qualify namesCtrl+R, Q

or

Ctrl+R, Ctrl+Q
SQL.FullyqualifyNames
Move to schemaCtrl+R, M

or

Ctrl+R, Ctrl+M
SQL.MovetoSchema
RenameF2

or

Ctrl+R, R

or

Ctrl+R, Ctrl+R
SQL.Rename
T SQL editor cancel queryAlt+BreakSQL.TSqlEditorCancelQuery
T SQL editor execute queryCtrl+Shift+ESQL.TSqlEditorExecuteQuery
T SQL editor results as fileCtrl+D, FSQL.TSqlEditorResultsAsFile
T SQL editor results as gridCtrl+D, GSQL.TSqlEditorResultsAsGrid
T SQL editor results as textCtrl+D, TSQL.TSqlEditorResultsAsText
T SQL editor show estimated planCtrl+D, ESQL.TSqlEditorShowEstimatedPlan
T SQL editor toggle execution planCtrl+D, ASQL.TSqlEditorToggleExecutionPlan
T SQL editor toggle results paneCtrl+D, RSQL.TSqlEditorToggleResultsPane
T SQL editor clone queryCtrl+Alt+NSQL.TSqlEditorCloneQuery
T SQL editor database comboShift+Alt+PgDnSQL.TSqlEditorDatabaseCombo

Microsoft SQL Server Data Tools, T-SQL PDW Editor

The shortcuts specific to this context are:

CommandsKeyboard shortcutsCommand ID
T SQL editor cancel queryAlt+BreakSQL.TSqlEditorCancelQuery
T SQL editor execute queryCtrl+Shift+ESQL.TSqlEditorExecuteQuery
T SQL editor results as fileCtrl+D, FSQL.TSqlEditorResultsAsFile
T SQL editor results as gridCtrl+D, GSQL.TSqlEditorResultsAsGrid
T SQL editor results as textCtrl+D, TSQL.TSqlEditorResultsAsText
T SQL editor show estimated planCtrl+D, ESQL.TSqlEditorShowEstimatedPlan
T SQL editor toggle execution planCtrl+D, ASQL.TSqlEditorToggleExecutionPlan
T SQL editor toggle results paneCtrl+D, RSQL.TSqlEditorToggleResultsPane
T SQL editor clone queryCtrl+Alt+NSQL.TSqlEditorCloneQuery
T SQL editor clone queryShift+Alt+PgDnSQL.TSqlEditorCloneQuery

Page Inspector

The shortcuts specific to this context are:

CommandKeyboard shortcutCommand ID
MinimizeF12PageInspector.Minimize

Query Designer

The shortcuts specific to this context are:

CommandsKeyboard shortcutsCommand ID
Cancel retrieving dataCtrl+TQueryDesigner.CancelRetrievingData
CriteriaCtrl+2QueryDesigner.Criteria
DiagramCtrl+1QueryDesigner.Diagram
Execute SQLCtrl+RQueryDesigner.ExecuteSQL
Goto rowCtrl+GQueryDesigner.GotoRow
Join modeCtrl+Shift+JQueryDesigner.JoinMode
ResultsCtrl+4QueryDesigner.Results
SqlCtrl+3QueryDesigner.SQL

Query results

The shortcuts specific to this context are:

CommandsKeyboard shortcutsCommand ID
Query results new rowAlt+EndSQL.QueryResultsNewRow
Query results refreshShift+Alt+RSQL.QueryResultsRefresh
Query results stopAlt+BreakSQL.QueryResultsStop

Report Designer

The shortcuts specific to this context are:

CommandsKeyboard shortcutsCommand ID
Break lineEnterEdit.BreakLine
Char leftLeft ArrowEdit.CharLeft
Char left extendShift+Left ArrowEdit.CharLeftExtend
Char rightRight ArrowEdit.CharRight
Char right extendShift+Right ArrowEdit.CharRightExtend
Insert tabTabEdit.InsertTab
Line downDown ArrowEdit.LineDown
Line down extendShift+Down ArrowEdit.LineDownExtend
Line upUp ArrowEdit.LineUp
Line up extendShift+Up ArrowEdit.LineUpExtend
Move control downCtrl+Down ArrowEdit.MoveControlDown
Move control leftCtrl+Left ArrowEdit.MoveControlLeft
Move control rightCtrl+Right ArrowEdit.MoveControlRight
Move control upCtrl+Up ArrowEdit.MoveControlUp
Selection cancelEscEdit.SelectionCancel
Size control downCtrl+Shift+Down ArrowEdit.SizeControlDown
Size control leftCtrl+Shift+Left ArrowEdit.SizeControlLeft
Size control rightCtrl+Shift+Right ArrowEdit.SizeControlRight
Size control upCtrl+Shift+Up ArrowEdit.SizeControlUp
Tab leftShift+TabEdit.TabLeft
Report dataCtrl+Alt+DView.ReportData

Sequence diagram

The shortcuts specific to this context are:

CommandsKeyboard shortcutsCommand ID
Navigate to codeF12ArchitectureDesigner.Sequence.NavigateToCode
DeleteShift+DelEdit.Delete

Settings Designer

The shortcuts specific to this context are:

CommandsKeyboard shortcutsCommand ID
Edit cellF2Edit.EditCell
Remove rowCtrl+DeleteEdit.RemoveRow
Selection cancelEscEdit.SelectionCancel
View codeF7View.ViewCode

Solution Explorer

The shortcuts specific to this context are:

CommandKeyboard shortcutCommand ID
View in page inspectorCtrl+K, Ctrl+GClassViewContextMenus.ClassViewProject.View.ViewinPageInspector

Team Explorer

The shortcuts specific to this context are:

CommandKeyboard ShortcutCommand ID
DeleteDeleteEdit.Delete
RenameF2File.Rename
Go to team explorer navigationAlt+HomeTeamFoundationContextMenus.Commands.GoToTeamExplorerNavigation
Go to team explorer next section contentAlt+Down ArrowTeamFoundationContextMenus.Commands.GoToTeamExplorerNextSectionContent
Go to team explorer page contentAlt+0 (zero)TeamFoundationContextMenus.Commands.GoToTeamExplorerPageContent
Go to team explorer previous section contentAlt+Up ArrowTeamFoundationContextMenus.Commands.GoToTeamExplorerPreviousSectionContent
Go to team explorer section 1 contentAlt+1TeamFoundationContextMenus.Commands.GoToTeamExplorerSection1Content
Go to team explorer section 2 contentAlt+2TeamFoundationContextMenus.Commands.GoToTeamExplorerSection2Content
Go to team explorer section 3 contentAlt+3TeamFoundationContextMenus.Commands.GoToTeamExplorerSection3Content
Go to team explorer section 4 contentAlt+4TeamFoundationContextMenus.Commands.GoToTeamExplorerSection4Content
Go to team explorer section 5 contentAlt+5TeamFoundationContextMenus.Commands.GoToTeamExplorerSection5Content
Go to team explorer section 6 contentAlt+6TeamFoundationContextMenus.Commands.GoToTeamExplorerSection6Content
Go to team explorer section 7 contentAlt+7TeamFoundationContextMenus.Commands.GoToTeamExplorerSection7Content
Go to team explorer section 8 contentAlt+8TeamFoundationContextMenus.Commands.GoToTeamExplorerSection8Content
Go to team explorer section 9 contentAlt+9TeamFoundationContextMenus.Commands.GoToTeamExplorerSection9Content
Team explorer navigate backwardAlt+Left ArrowTeamFoundationContextMenus.Commands.TeamExplorerNavigateBackward
Team explorer navigate forwardAlt+Right ArrowTeamFoundationContextMenus.Commands.TeamExplorerNavigateForward
TFS context my work page create copy wiShift+Alt+CTeamFoundationContextMenus.MyWorkPageInProgress.TfsContextMyWorkPageCreateCopyWI
TFS context my work page new linked wiShift+Alt+LTeamFoundationContextMenus.MyWorkPageInProgress.TfsContextMyWorkPageNewLinkedWI
RefreshF5View.Refresh

Test Explorer

The shortcuts specific to this context are:

CommandKeyboard shortcutCommand ID
Open testF12TestExplorer.OpenTest

Text Editor

The shortcuts specific to this context are:

CommandsKeyboard shortcutsCommand ID
Break lineEnter

or

Shift+Enter
Edit.BreakLine
Char leftLeft ArrowEdit.CharLeft
Char left extendShift+Left ArrowEdit.CharLeftExtend
Char left extend columnShift+Alt+Left ArrowEdit.CharLeftExtendColumn
Char rightRight ArrowEdit.CharRight
Char right extendShift+Right ArrowEdit.CharRightExtend
Char right extend columnShift+Alt+Right ArrowEdit.CharRightExtendColumn
Clear bookmarksCtrl+K, Ctrl+LEdit.ClearBookmarks
Collapse all outliningCtrl+M, Ctrl+AEdit.CollapseAllOutlining
Collapse current regionCtrl+M, Ctrl+SEdit.CollapseCurrentRegion
Collapse tagCtrl+M, Ctrl+TEdit.CollapseTag
Collapse to definitionsCtrl+M, Ctrl+O (letter 'O')Edit.CollapseToDefinitions
Contract selectionShift+Alt+-Edit.ContractSelection
Comment selectionCtrl+K, Ctrl+CEdit.CommentSelection
Complete wordCtrl+Space

or

Alt+Right Arrow
Edit.CompleteWord
Copy parameter tipCtrl+Shift+Alt+CEdit.CopyParameterTip
Decrease filter levelAlt+,Edit.DecreaseFilterLevel
Delete backwardsBackspace

or

Shift+Bkspce
Edit.DeleteBackwards
Delete horizontal white spaceCtrl+K, Ctrl+\Edit.DeleteHorizontalWhiteSpace
Document endCtrl+EndEdit.DocumentEnd
Document end extendCtrl+Shift+EndEdit.DocumentEndExtend
Document startCtrl+HomeEdit.DocumentStart
Document start extendCtrl+Shift+HomeEdit.DocumentStartExtend
Expand all outliningCtrl+M, Ctrl+XEdit.ExpandAllOutlining
Expand current regionCtrl+M, Ctrl+EEdit.ExpandCurrentRegion
Expand selectionShift+Alt+=Edit.ExpandSelection
Expand selection to containing blockShift+Alt+]Edit.ExpandSelectiontoContainingBlock
Format documentCtrl+K, Ctrl+DEdit.FormatDocument
Format selectionCtrl+K, Ctrl+FEdit.FormatSelection
Goto allCtrl+T

or

Ctrl+,
Edit.GotoAll
Goto braceCtrl+]Edit.GotoBrace
Goto brace extendCtrl+Shift+]Edit.GotoBraceExtend
Goto recentCtrl+T,REdit.GotoRecent
Goto next issue in fileAlt+PgDnEdit.GotoNextIssueinFile
Goto previous issue in fileAlt+PgUpEdit.GotoPreviousIssueinFile
Hide selectionCtrl+M, Ctrl+HEdit.HideSelection
Increase filter levelAlt+.Edit.IncreaseFilterLevel
Incremental searchCtrl+IEdit.IncrementalSearch
Insert carets at all matchingShift+Alt+;Edit.InsertCaretsatAllMatching
Insert next matching caretShift+Alt+.Edit.InsertNextMatchingCaret
Insert tabTabEdit.InsertTab
Line cutCtrl+LEdit.LineCut
Line deleteCtrl+Shift+LEdit.LineDelete
Line downDown ArrowEdit.LineDown
Line down extendShift+Down ArrowEdit.LineDownExtend
Line down extend columnShift+Alt+Down ArrowEdit.LineDownExtendColumn
Line endEndEdit.LineEnd
Line end extendShift+EndEdit.LineEndExtend
Line end extend columnShift+Alt+EndEdit.LineEndExtendColumn
Line open aboveCtrl+EnterEdit.LineOpenAbove
Line open belowCtrl+Shift+EnterEdit.LineOpenBelow
Line startHomeEdit.LineStart
Line start extendShift+HomeEdit.LineStartExtend
Line start extend columnShift+Alt+HomeEdit.LineStartExtendColumn
Line transposeShift+Alt+TEdit.LineTranspose
Line upUp ArrowEdit.LineUp
Line up extendShift+Up ArrowEdit.LineUpExtend
Line up extend columnShift+Alt+Up ArrowEdit.LineUpExtendColumn
List membersCtrl+JEdit.ListMembers
Make lowercaseCtrl+UEdit.MakeLowercase
Make uppercaseCtrl+Shift+UEdit.MakeUppercase
Move selected lines downAlt+Down ArrowEdit.MoveSelectedLinesDown
Move selected lines upAlt+Up ArrowEdit.MoveSelectedLinesUp
Next highlighted referenceCtrl+Shift+Down ArrowEdit.NextHighlightedReference
Overtype modeInsertEdit.OvertypeMode
Page downPgDnEdit.PageDown
Page down extendShift+PgDnEdit.PageDownExtend
Page upPgUpEdit.PageUp
Page up extendShift+PgUpEdit.PageUpExtend
Parameter infoCtrl+Shift+SpacebarEdit.ParameterInfo
Paste parameter tipCtrl+Shift+Alt+PEdit.PasteParameterTip
Peek backwardCtrl+Alt+-Edit.PeekBackward
Peek definitionAlt+F12Edit.PeekDefinition
Peek forwardCtrl+Alt+=Edit.PeekForward
Previous highlighted referenceCtrl+Shift+Up ArrowEdit.PreviousHighlightedReference
Quick infoCtrl+K, Ctrl+IEdit.QuickInfo
Reverse incremental searchCtrl+Shift+IEdit.ReverseIncrementalSearch
Scroll line downCtrl+Down ArrowEdit.ScrollLineDown
Scroll line upCtrl+Up ArrowEdit.ScrollLineUp
Select current wordCtrl+WEdit.SelectCurrentWord
Selection cancelEscapeEdit.SelectionCancel
Select to last go backCtrl+=Edit.SelectToLastGoBack
Show code lens menuCtrl+K, Ctrl+`Edit.ShowCodeLensMenu
Show navigate menuAlt+`Edit.ShowNavigateMenu
Stop hiding currentCtrl+M, Ctrl+UEdit.StopHidingCurrent
Stop outliningCtrl+M, Ctrl+PEdit.StopOutlining
Swap anchorCtrl+K, Ctrl+AEdit.SwapAnchor
Tab leftShift+TabEdit.TabLeft
Toggle all outliningCtrl+M, Ctrl+LEdit.ToggleAllOutlining
Toggle bookmarkCtrl+K, Ctrl+KEdit.ToggleBookmark
Toggle completion modeCtrl+Alt+SpaceEdit.ToggleCompletionMode
Toggle outlining expansionCtrl+M, Ctrl+MEdit.ToggleOutliningExpansion
Toggle task list shortcutCtrl+K, Ctrl+HEdit.ToggleTaskListShortcut
Toggle word wrapCtrl+E, Ctrl+WEdit.ToggleWordWrap
Uncomment selectionCtrl+K, Ctrl+UEdit.UncommentSelection
View bottomCtrl+PgDnEdit.ViewBottom
View bottom extendCtrl+Shift+PgDnEdit.ViewBottomExtend
View topCtrl+PgUpEdit.ViewTop
View top extendCtrl+Shift+PgUpEdit.ViewTopExtend
View white spaceCtrl+R, Ctrl+WEdit.ViewWhiteSpace
Word delete to endCtrl+DeleteEdit.WordDeleteToEnd
Word delete to startCtrl+BackspaceEdit.WordDeleteToStart
Word nextCtrl+Right ArrowEdit.WordNext
Word next extendCtrl+Shift+Right ArrowEdit.WordNextExtend
Word next extend columnCtrl+Shift+Alt+Right ArrowEdit.WordNextExtendColumn
Word previousCtrl+Left ArrowEdit.WordPrevious
Word previous extendCtrl+Shift+Left ArrowEdit.WordPreviousExtend
Word previous extend columnCtrl+Shift+Alt+Left ArrowEdit.WordPreviousExtendColumn
Word transposeCtrl+Shift+TEdit.WordTranspose
Execute in interactiveAlt+EnterEditorContextMenus.CodeWindow.ExecuteInInteractive
Execute line in interactiveAlt+'EditorContextMenus.CodeWindow.ExecuteLineInInteractive
View in page inspectorCtrl+K, Ctrl+GOtherContextMenus.HTMLContext.ViewinPageInspector
TFS annotate move next regionAlt+PgDnTeamFoundationContextMenus.Annotate.TfsAnnotateMoveNextRegion
TFS annotate move previous regionAlt+PgUpTeamFoundationContextMenus.Annotate.TfsAnnotateMovePreviousRegion

UML activity diagram

The shortcuts specific to this context are:

CommandKeyboard shortcutCommand ID
DeleteShift+DelEdit.Delete

UML class diagram

The shortcuts specific to this context are:

CommandKeyboard shortcutCommand ID
Delete from modelShift+DelEdit.DeleteFromModel

UML component diagram

The shortcuts specific to this context are:

CommandKeyboard shortcutCommand ID
Delete from modelShift+DelEdit.DeleteFromModel

UML use case diagram

The shortcuts specific to this context are:

CommandKeyboard shortcutCommand ID
Delete from modelShift+DelEdit.DeleteFromModel

VC Accelerator Editor

The shortcuts specific to this context are:

CommandsKeyboard shortcutsCommand ID
New acceleratorInsertEdit.NewAccelerator
Next key typedCtrl+WEdit.NextKeyTyped

VC Dialog Editor

The shortcuts specific to this context are:

CommandsKeyboard shortcutsCommand ID
Move control downDown ArrowEdit.MoveControlDown
Move control leftLeft ArrowEdit.MoveControlLeft
Move control rightRight ArrowEdit.MoveControlRight
Move control upUp ArrowEdit.MoveControlUp
Scroll column leftCtrl+Left ArrowEdit.ScrollColumnLeft
Scroll column rightCtrl+Right ArrowEdit.ScrollColumnRight
Scroll line downCtrl+Down ArrowEdit.ScrollLineDown
Scroll line upCtrl+Up ArrowEdit.ScrollLineUp
Size control downShift+Down ArrowEdit.SizeControlDown
Size control leftShift+Left ArrowEdit.SizeControlLeft
Size control rightShift+Right ArrowEdit.SizeControlRight
Size control upShift+Up ArrowEdit.SizeControlUp
Align bottomsCtrl+Shift+Down ArrowFormat.AlignBottoms
Align centersShift+F9Format.AlignCenters
Align leftsCtrl+Shift+Left ArrowFormat.AlignLefts
Align middlesF9Format.AlignMiddles
Align rightsCtrl+Shift+Right ArrowFormat.AlignRights
Align topsCtrl+Shift+Up ArrowFormat.AlignTops
Button bottomCtrl+BFormat.ButtonBottom
Button rightCtrl+RFormat.ButtonRight
Center horizontalCtrl+Shift+F9Format.CenterHorizontal
Center verticalCtrl+F9Format.CenterVertical
Check mnemonicsCtrl+MFormat.CheckMnemonics
Size to contentShift+F7Format.SizetoContent
Space acrossAlt+Right Arrow

or

Alt+Left Arrow
Format.SpaceAcross
Space downAlt+Up Arrow

or

Alt+Down Arrow
Format.SpaceDown
Tab orderCtrl+DFormat.TabOrder
Test dialogCtrl+TFormat.TestDialog
Toggle guidesCtrl+GFormat.ToggleGuides

VC Image Editor

The shortcuts specific to this context are:

CommandsKeyboard shortcutsCommand ID
Airbrush toolCtrl+AImage.AirbrushTool
Brush toolCtrl+BImage.BrushTool
Copy and outline selectionCtrl+Shift+UImage.CopyandOutlineSelection
Draw opaqueCtrl+JImage.DrawOpaque
Ellipse toolAlt+PImage.EllipseTool
Erase toolCtrl+Shift+IImage.EraseTool
Filled ellipse toolCtrl+Shift+Alt+PImage.FilledEllipseTool
Filled rectangle toolCtrl+Shift+Alt+RImage.FilledRectangleTool
Filled rounded rectangle toolCtrl+Shift+Alt+WImage.FilledRoundedRectangleTool
Fill toolCtrl+FImage.FillTool
Flip horizontalCtrl+HImage.FlipHorizontal
Flip verticalShift+Alt+HImage.FlipVertical
Larger brushCtrl+=Image.LargerBrush
Line toolCtrl+LImage.LineTool
Magnification toolCtrl+MImage.MagnificationTool
MagnifyCtrl+Shift+MImage.Magnify
New image typeInsertImage.NewImageType
Next colorCtrl+]

or

Ctrl+Right Arrow
Image.NextColor
Next right colorCtrl+Shift+]

or

Ctrl+Shift+Right Arrow
Image.NextRightColor
Outlined ellipse toolShift+Alt+PImage.OutlinedEllipseTool
Outlined rectangle toolShift+Alt+RImage.OutlinedRectangleTool
Outlined rounded rectangle toolShift+Alt+WImage.OutlinedRoundedRectangleTool
Pencil toolCtrl+IImage.PencilTool
Previous colorCtrl+[

or

Ctrl+Left Arrow
Image.PreviousColor
Previous right colorCtrl+Shift+[

or

Ctrl+Shift+Left Arrow
Image.PreviousRightColor
Rectangle selection toolShift+Alt+SImage.RectangleSelectionTool
Rectangle toolAlt+RImage.RectangleTool
Rotate 90 degreesCtrl+Shift+HImage.Rotate90Degrees
Rounded rectangle toolAlt+WImage.RoundedRectangleTool
Show gridCtrl+Alt+SImage.ShowGrid
Show tile gridCtrl+Shift+Alt+SImage.ShowTileGrid
Small brushCtrl+.Image.SmallBrush
Smaller brushCtrl+-Image.SmallerBrush
Text toolCtrl+TImage.TextTool
Use selection as brushCtrl+UImage.UseSelectionasBrush
Zoom inCtrl+Shift+.

or

Ctrl+Up Arrow
Image.ZoomIn
Zoom outCtrl+Shift+,

or

Ctrl+Down Arrow
Image.ZoomOut

VC String Editor

The shortcuts specific to this context are:

CommandKeyboard shortcutCommand ID
New stringInsertEdit.NewString

View Designer

The shortcuts specific to this context are:

CommandsKeyboard shortcutsCommand ID
Cancel retrieving dataCtrl+TQueryDesigner.CancelRetrievingData
CriteriaCtrl+2QueryDesigner.Criteria
DiagramCtrl+1QueryDesigner.Diagram
Execute SQLCtrl+RQueryDesigner.ExecuteSQL
Goto rowCtrl+GQueryDesigner.GotoRow
Join modeCtrl+Shift+JQueryDesigner.JoinMode
ResultsCtrl+4QueryDesigner.Results
SqlCtrl+3QueryDesigner.SQL

Visual Studio

The shortcuts specific to this context are:

CommandKeyboard shortcutCommand ID
Hide methods paneCtrl+1OtherContextMenus.ORDesignerContext.HideMethodsPane

Windows Forms Designer

The shortcuts specific to this context are:

CommandsKeyboard shortcutsCommand ID
Break lineEnterEdit.BreakLine
Char leftLeft ArrowEdit.CharLeft
Char left extendShift+Left ArrowEdit.CharLeftExtend
Char rightRight ArrowEdit.CharRight
Char right extendShift+Right ArrowEdit.CharRightExtend
Document endEndEdit.DocumentEnd
Document end extendShift+EndEdit.DocumentEndExtend
Document startHomeEdit.DocumentStart
Document start extendShift+HomeEdit.DocumentStartExtend
Insert tabTabEdit.InsertTab
Line downDown ArrowEdit.LineDown
Line down extendShift+Up ArrowEdit.LineDownExtend
Line upUp ArrowEdit.LineUp
Line up extendShift+Down ArrowEdit.LineUpExtend
Move control downCtrl+Down ArrowEdit.MoveControlDown
Move control leftCtrl+Left ArrowEdit.MoveControlLeft
Move control rightCtrl+Right ArrowEdit.MoveControlRight
Move control upCtrl+Up ArrowEdit.MoveControlUp
Selection cancelEscapeEdit.SelectionCancel
Size control downCtrl+Shift+Down ArrowEdit.SizeControlDown
Size control leftCtrl+Shift+Left ArrowEdit.SizeControlLeft
Size control rightCtrl+Shift+Right ArrowEdit.SizeControlRight
Size control upCtrl+Shift+Up ArrowEdit.SizeControlUp
Tab leftShift+TabEdit.TabLeft

Work Item Editor

The shortcuts specific to this context are:

CommandsKeyboard shortcutsCommand ID
Create copy of work itemShift+Alt+CEdit.CreateCopyofWorkItem
Refresh work itemF5Edit.RefreshWorkItem
New linked work itemShift+Alt+LTeam.NewLinkedWorkItem

Work Item Query View

The shortcuts specific to this context are:

CommandsKeyboard shortcutsCommand ID
Create copy of work itemShift+Alt+CEdit.CreateCopyofWorkItem
IndentShift+Alt+Right ArrowEdit.Indent
OutdentShift+Alt+Left ArrowEdit.Outdent
New linked work itemShift+Alt+LTeam.NewLinkedWorkItem
RefreshF5Team.Refresh
ToggleShift+Alt+VWindow.Toggle

Work Item Results View

The shortcuts specific to this context are:

CommandsKeyboard shortcutsCommand ID
Create copy of work itemShift+Alt+CEdit.CreateCopyofWorkItem
IndentShift+Alt+Right ArrowEdit.Indent
OutdentShift+Alt+Left ArrowEdit.Outdent
Goto next work itemShift+Alt+NTeam.GotoNextWorkItem
Goto previous work itemShift+Alt+PTeam.GotoPreviousWorkItem
New linked work itemShift+Alt+LTeam.NewLinkedWorkItem
RefreshF5Team.Refresh
ToggleShift+Alt+VWindow.Toggle

Workflow Designer

The shortcuts specific to this context are:

CommandsKeyboard shortcutsCommand ID
Complete wordCtrl+K, W

or

Ctrl+K, Ctrl+W

or

Ctrl+Spacebar

or

Alt+Right Arrow
Edit.CompleteWord
Decrease filter levelAlt+,Edit.DecreaseFilterLevel
Increase filter levelAlt+.Edit.IncreaseFilterLevel
List membersCtrl+K, L

or

Ctrl+K, Ctrl+L

or

Ctrl+J
Edit.ListMembers
Parameter infoCtrl+K, P

or

Ctrl+K, Ctrl+P

or

Ctrl+Shift+Spacebar
Edit.ParameterInfo
Quick infoCtrl+K, I

or

Ctrl+K, Ctrl+I
Edit.QuickInfo
CollapseCtrl+E, Ctrl+C

or

Ctrl+E, C
WorkflowDesigner.Collapse
Collapse allorWorkflowDesigner.CollapseAll
Connect nodesCtrl+E, Ctrl+F

or

Ctrl+E, F
WorkflowDesigner.ConnectNodes
Create variableCtrl+E, Ctrl+N

or

Ctrl+E, N
WorkflowDesigner.CreateVariable
Expand allCtrl+E, Ctrl+X

or

Ctrl+E, X
WorkflowDesigner.ExpandAll
Expand in placeCtrl+E, Ctrl+E

or

Ctrl+E, E
WorkflowDesigner.ExpandInPlace
Go to parentCtrl+E, Ctrl+P

or

Ctrl+E, P
WorkflowDesigner.GoToParent
Move focusCtrl+E, Ctrl+M

or

Ctrl+E, M
WorkflowDesigner.MoveFocus
Navigate through designerCtrl+Alt+F6WorkflowDesigner.NavigateThroughDesigner
RestoreCtrl+E, Ctrl+R

or

Ctrl+E, R
WorkflowDesigner.Restore
Show hide argument designerCtrl+E, Ctrl+A

or

Ctrl+E, A
WorkflowDesigner.ShowHideArgumentDesigner
Show hide imports designerCtrl+E, Ctrl+I

or

Ctrl+E, I
WorkflowDesigner.ShowHideImportsDesigner
Show hide overview mapCtrl+E, Ctrl+O (letter 'O')

or

Ctrl+E, O
WorkflowDesigner.ShowHideOverviewMap
Show hide variable designerCtrl+E, Ctrl+V

or

Ctrl+E, V
WorkflowDesigner.ShowHideVariableDesigner
Toggle selectionCtrl+E, Ctrl+S

or

Ctrl+E, S
WorkflowDesigner.ToggleSelection
Zoom inCtrl+Num +WorkflowDesigner.ZoomIn
Zoom outCtrl+Num -WorkflowDesigner.ZoomOut

XAML UI Designer

The shortcuts specific to this context are:

CommandsKeyboard shortcutsCommand ID
Fit allCtrl+0 (zero)Design.FitAll
Show handlesF9Design.ShowHandles
Zoom inCtrl+Alt+=Design.ZoomIn
Zoom outCtrl+Alt+-Design.ZoomOut
Designer optionsCtrl+Shift+;
Edit textF2Format.EditText
AllCtrl+Shift+RFormat.ResetLayout.All
Run project codeCtrl+F9
Hide (Blend only)Ctrl+HTimeline.Hide (Blend only)
Lock (Blend only)Ctrl+LTimeline.Lock (Blend only)
Show (Blend only)Ctrl+Shift+HTimeline.Show (Blend only)
Unlock (Blend only)Ctrl+Shift+LTimeline.Unlock (Blend only)
Edge left move leftCtrl+Shift+,View.EdgeLeftMoveLeft
Edge left move rightCtrl+Shift+.View.EdgeLeftMoveRight
Edge right move leftCtrl+Shift+Alt+,View.EdgeRightMoveLeft
Edge right move rightCtrl+Shift+Alt+.View.EdgeRightMoveRight
Show property marker menuCtrl+SpacebarView.ShowPropertyMarkerMenu

XML (Text) Editor

The shortcuts specific to this context are:

CommandsKeyboard shortcutsCommand ID
Start XSLT debuggingAlt+F5XML.StartXSLTDebugging
Start XSLT without debuggingCtrl+Alt+F5XML.StartXSLTWithoutDebugging

XML Schema Designer

The shortcuts specific to this context are:

CommandsKeyboard shortcutsCommand ID
Bottom to topAlt+Up ArrowGraphView.BottomtoTop
Left to rightAlt+Right ArrowGraphView.LefttoRight
Right to leftAlt+Left ArrowGraphView.RighttoLeft
Top to bottomAlt+Down ArrowGraphView.ToptoBottom
Remove from workspaceDeleteOtherContextMenus.GraphView.RemovefromWorkspace
Show content model viewCtrl+2XsdDesigner.ShowContentModelView
Show graph viewCtrl+3XsdDesigner.ShowGraphView
Show start viewCtrl+1XsdDesigner.ShowStartView

///

General Shortcuts

SHORTCUTDESCRIPTION
Ctrl-X or Shift-DeleteCuts the currently selected item to the clipboard. Without selection it cuts the entire line to the clipboard.
Ctrl-C or Ctrl-InsertCopies the currently selected item to the clipboard. Without selection it copies the entire line to the clipboard.
Ctrl-V or Shift-InsertPastes the item in the clipboard at the cursor (with selection in clipboard), or at the next line (with line in clipboard).
Ctrl-Z or Alt-BackspaceUndo previous editing action
Ctrl-Y or Ctrl-Shift-ZRedo the previous undo action
Ctrl-Shift-V or Ctrl-Shift-InsertPastes an item from the clipboard ring tab of the Toolbox at the cursor in the file and automatically selects the pasted item. Cycle through the items on the clipboard by pressing the shortcut keys repeatedly
Ctrl + . or Shift+Alt+F10Opens smart tag and resolves a wide array of suggested code refactorings
EscCloses a menu or dialog, cancels an operation in progress, or places focus in the current document window
Ctrl-SSaves the selected files in the current project (usually the file that is being edited)
Ctrl-Shift-SSaves all documents and projects
Ctrl-PDisplays the Print dialog
F7Switches from the design view to the code view in the editor
Shift-F7Switches from the code view to the design view in the editor
F8Moves the cursor to the next item, for example in the TaskList window or Find Results window
Shift-F8Moves the cursor to the previous item, for example in the TaskList window or Find Results window
Shift-F12Finds a reference to the selected item or the item under the cursor
Ctrl-Shift-GOpens the file whose name is under the cursor or is currently selected
Ctrl-/Switches focus to the Find/Command box on the Standard toolbar
Ctrl-Shift-F12Moves to the next task in the TaskList window
Ctrl-Shift-8Moves backward in the browse history. Available in the object browser or Class View window
Alt-Left ArrowGo back in the web browser history
Alt-Right ArrowGo forward in the web browser history


Text Navigation

SHORTCUTDESCRIPTION
Left ArrowMoves the cursor one character to the left
Right ArrowMoves the cursor one character to the right
Down ArrowMoves the cursor down one line
Up ArrowMoves the cursor up one line
Page DownScrolls down one screen in the editor window
Page UpScrolls up one screen in the editor window
EndMoves the cursor to the end of the current line
HomeMoves the cursor to the beginning of the line. If you press Home when the cursor is already at the start of the line, it will toggle the cursor between the first non-whitespace character and the real start of the line
Ctrl-EndMoves the cursor to the end of the document
Ctrl-HomeMoves the cursor to the start of the document
Ctrl-GDisplays the Go to Line dialog. If the debugger is running, the dialog also lets you specify addresses or function names to go to
Ctrl-]Moves the cursor to the matching brace in the document. If the cursor is on an opening brace, this will move to the corresponding closing brace and vice versa
Ctrl-K, Ctrl-NMoves to the next bookmark in the document
Ctrl-K, Ctrl-PMoves to the previous bookmark
Ctrl-K, Ctrl-IDisplays Quick Info, based on the current language
Ctrl-Down ArrowScrolls text down one line but does not move the cursor. This is useful for scrolling more text into view without losing your place. Available only in text editors
Ctrl-Up ArrowScrolls text up one line but does not move the cursor. Available only in text editors
Ctrl-Right ArrowMoves the cursor one word to the right
Ctrl-Left ArrowMoves the cursor one word to the left
Ctrl-Shift-1Navigates to the next definition, declaration, or reference of an item. Available in the object browser and Class View window. Also available in source editing windows if you have already used the Edit.GoToReference (Shift-F12) shortcut
Ctrl-Shift-2Navigates to the previous definition, declaration, or reference of an item


Text Manipulation

SHORTCUTDESCRIPTION
EnterInserts a new line
DeleteDeletes one character to the right of the cursor
InsertToggles between insert and overtype insertion modes
TabIndents the currently selected line or lines by one tab stop. If there is no selection, this inserts a tab stop
Shift-TabMoves current line or selected lines one tab stop to the left
Backspace or Shift-BackspaceDeletes one character to the left of the cursor
Ctrl-K, Ctrl-CMarks the current line or selected lines of code as a comment, using the correct comment syntax for the programming language
Ctrl-K, Ctrl-URemoves the comment syntax from the current line or currently selected lines of code
Ctrl-T or Shift-EnterSwaps the characters on either side of the cursor. (For example, AC|BD becomes AB|CD.) Available only in text editors
Ctrl-K, Ctrl-LRemoves all unnamed bookmarks in the current document
Ctrl-M, Ctrl-OAutomatically determines logical boundaries for creating regions in code, such as procedures, and then hides them. This collapses all such regions in the current document
Alt-Right Arrow or Ctrl-SpacebarDisplays statement completion based on the current language or autocompletes word if existing text unambiguously identifies a single symbol
Ctrl-K, Ctrl-\Removes horizontal whitespace in the selection or deletes whitespace adjacent to the cursor if there is no selection
Ctrl-K, Ctrl-FApplies the indenting and space formatting for the language as specified on the Formatting pane of the language in the Text Editor section of the Options dialog to the selected text.
Ctrl-LCuts all selected lines or the current line if nothing has been selected to the clipboard
Ctrl-Shift-LDeletes all selected lines or the current line if no selection has been made
Ctrl-EnterInserts a blank line above the cursor
Ctrl-Shift-EnterInserts a blank line below the cursor
Shift-Alt-TMoves the line containing the cursor below the next line
Ctrl-JLists members for statement completion when editing code
Ctrl-UChanges the selected text to lowercase characters
Ctrl-Shift-UChanges the selected text to uppercase characters
Ctrl-Shift-SpacebarDisplays a tooltip that contains information for the current parameter, based on the current language
Ctrl-M, Ctrl-URemoves the outlining information for the currently selected region
Ctrl-M, Ctrl-PRemoves all outlining information from the entire document
Ctrl-R, Ctrl-PSwaps the anchor and endpoint of the current selection
Ctrl-M, Ctrl-LToggles all previously marked hidden text sections between hidden and display states
Ctrl-K, Ctrl-KSets or removes a bookmark at the current line
Ctrl-M, Ctrl-MToggles the currently selected hidden text section or the section containing the cursor if there is no selection between the hidden and display states
Ctrl-K, Ctrl-HSets or removes a shortcut in the tasklist to the current line
Ctrl-R, Ctrl-REnables or disables word wrap in an editor
Ctrl-R, Ctrl-WShows or hides spaces and tab marks
Ctrl-DeleteDeletes the word to the right of the cursor
Ctrl-BackspaceDeletes the word to the left of the cursor
Ctrl-Shift-TTransposes the two words that follow the cursor. (For example, |End Sub would be changed to read Sub End|.)
Ctrl-.[dot]Display options on smarttag menu.Very useful for showing using/Imports options.


Text Selection

SHORTCUTDESCRIPTION
Shift-Left ArrowMoves the cursor to the left one character, extending the selection
Shift-Alt-Left ArrowMoves the cursor to the left one character, extending the column selection
Shift-Right ArrowMoves the cursor to the right one character, extending the selection
Shift-Alt-Right ArrowMoves the cursor to the right one character, extending the column selection
Ctrl-Shift-EndMoves the cursor to the end of the document, extending the selection
Ctrl-Shift-HomeMoves the cursor to the start of the document, extending the selection
Ctrl-Shift-]Moves the cursor to the next brace, extending the selection
Shift-Down ArrowMoves the cursor down one line, extending the selection
Shift-Alt-Down ArrowMoves the cursor down one line, extending the column selection
Shift-EndMoves the cursor to the end of the current line, extending the selection
Shift-Alt-EndMoves the cursor to the end of the line, extending the column selection
Shift-HomeMoves the cursor to the start of the line, extending the selection
Shift-Alt-HomeMoves the cursor to the start of the line, extending the column selection
Shift-Up ArrowMoves the cursor up one line, extending the selection
Shift-Alt-Up ArrowMoves the cursor up one line, extending the column selection
Shift-Page DownExtends selection down one page
Shift-Page UpExtends selection up one page
Ctrl-ASelects everything in the current document
Ctrl-WSelects the word containing the cursor or the word to the right of the cursor
Ctrl-=Selects from the current location in the editor back to the previous location in the navigation history
Ctrl-Shift-Page DownMoves the cursor to the last line in view, extending the selection
Ctrl-Shift-Page UpMoves the cursor to the top of the current window, extending the selection
Ctrl-Shift-Alt-Right ArrowMoves the cursor to the right one word, extending the column selection
Ctrl-Shift-Left ArrowMoves the cursor one word to the left, extending the selection
Ctrl-Shift-Alt-Left ArrowMoves the cursor to the left one word, extending the column selection


Project Related

SHORTCUTDESCRIPTION
Ctrl-Shift-BBuilds the solution
Ctrl-NDisplays the New File dialog. Note: files created this way are not associated with a project. Use Ctrl-Shift-A to add a new file in a project
Ctrl-Shift-NDisplays the New Project dialog
Ctrl-ODisplays the Open File dialog
Ctrl-Shift-ODisplays the Open Project dialog
Shift-Alt-ADisplays the Add Existing Item dialog
Ctrl-Shift-ADisplays the Add New Item dialog
Ctrl-Alt-InsertAllows you to override base class methods in a derived class when an overridable method is highlighted in the Class View pane


Window Manipulation

SHORTCUTDESCRIPTION
Shift-Alt-EnterToggles full screen mode
Ctrl-+Goes back to the previous location in the navigation history. (For example, if you press Ctrl-Home to go to the start of a document, this shortcut will take the cursor back to wherever it was before you pressed Ctrl-Home.)
Ctrl-Shift-+Moves forward in the navigation history. This is effectively an undo for the View.NavigateBackward operation
Ctrl-F4Closes the current MDI child window
Shift-EscCloses the current tool window
Ctrl-F2Moves the cursor to the navigation bar at the top of a code view
Ctrl-TabCycles through the MDI child windows one window at a time
Ctrl-F6,Ctrl-Shift-TabMoves to the previous MDI child window
Alt-F6,Ctrl-Shift-F6Moves to the next tool window
Shift-Alt-F6Moves to the previously selected window
F6Moves to the next pane of a split pane view of a single document
Shift-F6Moves to the previous pane of a document in split pane view
Ctrl-PagedownMoves to the next tab in the document or window (e.g., you can use this to switch the HTML editor from its design view to its HTML view
Ctrl-PageUpMoves to the previous tab in the document or window


Control Editor (designer)

SHORTCUTDESCRIPTION
Ctrl-Down ArrowMoves the selected control down in increments of one on the design surface
Down ArrowMoves the selected control down to the next grid position on the design surface
Ctrl-Left ArrowMoves the control to the left in increments of one on the design surface
Left ArrowMoves the control to the left to the next grid position on the design surface
Ctrl-Right ArrowMoves the control to the right in increments of one on the design surface
Right ArrowMoves the control to the right into the next grid position on the design surface
Ctrl-Up ArrowMoves the control up in increments of one on the design surface
Up ArrowMoves the control up into the next grid position on the design surface
TabMoves to the next control in the tab order
Shift-TabMoves to the previous control in the tab order
Ctrl-Shift-Down ArrowIncreases the height of the control in increments of one on the design surface
Shift-Down ArrowIncreases the height of the control to the next grid position on the design surface
Ctrl-Shift-Left ArrowReduces the width of the control in increments of one on the design surface
Shift-Left ArrowReduces the width of the control to the next grid position on the design surface
Ctrl-Shift-Right ArrowIncreases the width of the control in increments of one on the design surface
Shift-Left ArrowIncreases the width of the control to the next grid position on the design surface
Ctrl-Shift-Up ArrowDecreases the height of the control in increments of one on the design surface
Shift-Up ArrowDecreases the height of the control to the next grid position on the design surface


Search and Replace

SHORTCUTDESCRIPTION
Ctrl-FDisplays the Find dialog
Ctrl-Shift-FDisplays the Find in Files dialog
F3Finds the next occurrence of the previous search text
Ctrl-F3Finds the next occurrence of the currently selected text or the word under the cursor if there is no selection
Shift-F3Finds the previous occurrence of the search text
Ctrl-Shift-F3Finds the previous occurrence of the currently selected text or the word under the cursor
Ctrl-DPlaces the cursor in the Find/Command line on the Standard toolbar
Alt-F3, HSelects or clears the Search Hidden Text option for the Find dialog
Ctrl-IStarts an incremental search—after pressing Ctrl-I, you can type in text, and for each letter you type, VS.NET will find the first occurrence of the sequence of letters you have typed so far. This is a very convenient facility, as it lets you find text by typing in exactly as many characters as are required to locate the text and no more. If you press Ctrl-I a second time without typing any characters, it recalls the previous pattern. If you press it a third time or you press it when an incremental search has already found a match, VS.NET searches for the next occurrence.
Alt-F3, CSelects or clears the Match Case option for Find and Replace operations
Alt-F3, RSelects or clears the Regular Expression option so that special characters can be used in Find and Replace operations
Ctrl-HDisplays the Replace dialog
Ctrl-Shift-HDisplays the Replace in Files dialog
Ctrl-Shift-IPerforms an incremental search in reverse direction
Alt-F3, SHalts the current Find in Files operation
Alt-F3, BSelects or clears the Search Up option for Find and Replace operations
Alt-F3, WSelects or clears the Match Whole Word option for Find and Replace operations
Alt-F3, PSelects or clears the Wildcard option for Find and Replace operations


Help

SHORTCUTDESCRIPTION
Ctrl-Alt-F1Displays the Contents window for the documentation
Ctrl-F1Displays the Dynamic Help window, which displays different topics depending on what items currently have focus. If the focus is in a source window, the Dynamic Help window will display help topics that are relevant to the text under the cursor
F1Displays a topic from Help that corresponds to the part of the user interface that currently has the focus. If the focus is in a source window, Help will try to display a topic relevant to the text under the cursor
Ctrl-Alt-F2Displays the Help Index window
Shift-Alt-F2Displays the Index Results window, which lists the topics that contain the keyword selected in the Index window
Alt-Down ArrowDisplays the next topic in the table of contents. Available only in the Help browser window
Alt-Up ArrowDisplays the previous topic in the table of contents. Available only in the Help browser window
Ctrl-Alt-F3Displays the Search window, which allows you to search for words or phrases in the documentation
Shift-Alt-F3Displays the Search Results window, which displays a list of topics that contain the string searched for from the Search window.
Shift-F1Displays a topic from Help that corresponds to the user interface item that has the focus


Debugging

SHORTCUTDESCRIPTION
Ctrl-Alt-V, ADisplays the Auto window to view the values of variables currently in the scope of the current line of execution within the current procedure
Ctrl-Alt-BreakTemporarily stops execution of all processes in a debugging session. Available only in run mode
Ctrl-Alt-BDisplays the Breakpoints dialog, where you can add and modify breakpoints
Ctrl-Alt-CDisplays the Call Stack window to display a list of all active procedures or stack frames for the current thread of execution. Available only in break mode
Ctrl-Shift-F9Clears all of the breakpoints in the project
Ctrl-Alt-DDisplays the Disassembly window
Ctrl-F9Enables or disables the breakpoint on the current line of code. The line must already have a breakpoint for this to work
Ctrl-Alt-EDisplays the Exceptions dialog
Ctrl-Alt-IDisplays the Immediate window, where you can evaluate expressions and execute individual commands
Ctrl-Alt-V, LDisplays the Locals window to view the variables and their values for the currently selected procedure in the stack frame
Ctrl-Alt-M, 1Displays the Memory 1 window to view memory in the process being debugged. This is particularly useful when you do not have debugging symbols available for the code you are looking at. It is also helpful for looking at large buffers, strings, and other data that does not display clearly in the Watch or Variables window
Ctrl-Alt-M, 2Displays the Memory 2 window
Ctrl-Alt-M, 3Displays the Memory 3 window
Ctrl-Alt-M, 4Displays the Memory 4 window
Ctrl-Alt-UDisplays the Modules window, which allows you to view the .dll or .exe files loaded by the program. In multiprocess debugging, you can right-click and select Show Modules for all programs
Ctrl-BOpens the New Breakpoint dialog
Ctrl-Alt-QDisplays the Quick Watch dialog with the current value of the selected expression. Available only in break mode. Use this command to check the current value of a variable, property, or other expression for which you have not defined a watch expression
Ctrl-Alt-GDisplays the Registers window, which displays CPU register contents
Ctrl-Shift-F5Terminates the current debugging session, rebuilds if necessary, and then starts a new debugging session. Available in break and run modes
Ctrl-Alt-NDisplays the Running Documents window that displays the set of HTML documents that you are in the process of debugging. Available in break and run modes
Ctrl-F10Starts or resumes execution of your code and then halts execution when it reaches the selected statement. This starts the debugger if it is not already running
Ctrl-Shift-F10Sets the execution point to the line of code you choose
Alt-NUM *Highlights the next statement to be executed
F5If not currently debugging, this runs the startup project or projects and attaches the debugger. If in break mode, this allows execution to continue (i.e., it returns to run mode).
Ctrl-F5Runs the code without invoking the debugger. For console applications, this also arranges for the console window to stay open with a "Press any key to continue" prompt when the program finishes
F11Executes code one statement at a time, tracing execution into function calls
Shift-F11Executes the remaining lines of a function in which the current execution point lies
F10Executes the next line of code but does not step into any function calls
Shift-F5Available in break and run modes, this terminates the debugging session
Ctrl-Alt-V, TDisplays the This window, which allows you to view the data members of the object associated with the current method
Ctrl-Alt-HDisplays the Threads window to view all of the threads for the current process
F9Sets or removes a breakpoint at the current line
Ctrl-F11Displays the disassembly information for the current source file. Available only in break mode
Ctrl-Alt-W, 1Displays the Watch 1 window to view the values of variables or watch expressions
Ctrl-Alt-W, 2Displays the Watch 2 window
Ctrl-Alt-W, 3Displays the Watch 3 window
Ctrl-Alt-W, 4Displays the Watch 4 window
Ctrl-Alt-PDisplays the Processes dialog, which allows you to attach or detach the debugger to one or more running processes


Object Browser

SHORTCUTDESCRIPTION
Alt-F12Displays the Find Symbol dialog
Ctrl-F12Displays the declaration of the selected symbol in the code
F12Displays the definition for the selected symbol in code
Ctrl-Alt-F12Displays the Find Symbol Results window
Ctrl-Alt-JDisplays the Object Browser to view the classes, properties, methods, events, and constants defined either in your project or by components and type libraries referenced by your project
Alt-+Moves back to the previously selected object in the selection history of the object browser
Shift-Alt-+Moves forward to the next object in the selection history of the object browser


Tool Window

SHORTCUTDESCRIPTION
Ctrl-Shift-MToggles the Command window into or out of a mode allowing text within the window to be selected
Ctrl-Shift-CDisplays the Class View window
Ctrl-Alt-ADisplays the Command window, which allows you to type commands that manipulate the IDE
Ctrl-Alt-TDisplays the Document Outline window to view the flat or hierarchical outline of the current document
Ctrl-Alt-FDisplays the Favorites window, which lists shortcuts to web pages
Ctrl-Alt-ODisplays the Output window to view status messages at runtime
F4Displays the Properties window, which lists the design-time properties and events for the currently selected item
Shift-F4Displays the property pages for the item currently selected. (For example, use this to show a project's settings.)
Ctrl-Shift-EDisplays the Resource View window
Ctrl-Alt-SDisplays the Server Explorer window, which allows you to view and manipulate database servers, event logs, message queues, web services, and many other operating system services
Ctrl-Alt-RDisplays the web browser window, which allows you to view pages on the Internet
Ctrl-Alt-LDisplays the Solution Explorer, which lists the projects and files in the current solution
Ctrl-Alt-KDisplays the TaskList window, which displays tasks, comments, shortcuts, warnings, and error messages
Ctrl-Alt-XDisplays the Toolbox, which contains controls and other items that can be dragged into editor and designer windows


Html Editor (Design View)

SHORTCUTDESCRIPTION
Ctrl-BToggles the selected text between bold and normal
Ctrl-Shift-TDecreases the selected paragraph by one indent unit
Ctrl-TIndents the selected paragraph by one indent unit
Ctrl-IToggles the selected text between italic and normal
Ctrl-Shift-KPrevents an absolutely positioned element from being inadvertently moved. If the element is already locked, this unlocks it
Ctrl-GToggles the grid
Ctrl-Shift-GSpecifies that elements be aligned using an invisible grid. You can set grid spacing on the Design pane of HTML designer options in the Options dialog, and the grid will be changed the next time you open a document
Ctrl-UToggles the selected text between underlined and normal
Ctrl-Shift-LDisplays the Bookmark dialog
Ctrl-JInserts <div></div> in the current HTML document
Ctrl-LWhen text is selected, displays the Hyperlink dialog
Ctrl-Shift-WDisplays the Insert Image dialog
Ctrl-Alt-Up ArrowAdds one row above the current row in the table
Ctrl-Alt-Down ArrowAdds one row below the current row in the table
Ctrl-Alt-Left ArrowAdds one column to the left of the current column in the table
Ctrl-Alt-Right ArrowAdds one column to the right of the current column in the table
Ctrl-Shift-QToggles display of marker icons for HTML elements that do not have a visual representation, such as comments, scripts, and anchors for absolutely positioned elements
Ctrl-Page DownSwitches from design view to HTML view and vice versa
Ctrl-QDisplays a 1-pixel border around HTML elements that support a BORDER attribute and have it set to zero, such as tables, table cells, and divisions


Macros

SHORTCUTDESCRIPTION
Alt-F8Displays the Macro Explorer window, which lists all available macros
Alt-F11Launches the macros IDE
Ctrl-Shift-RPlaces the environment in macro record mode or completes recording if already in record mode
Ctrl-Shift-PPlays back a recorded macro
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
非常抱歉,我的回答有误。`Button` 类确实没有 `ShortcutKeys` 属性。如果你想为按钮添加快捷键,你需要使用菜单项或者自定义控件。以下是两种方法: 1. 使用菜单项 在菜单栏中添加一个菜单项,将其 `ShortcutKeys` 属性设置为你想要的快捷键,然后在 `Click` 事件中处理按钮的点击事件。例如: ```csharp private void menuItem1_Click(object sender, EventArgs e) { // 处理按钮点击事件的代码 } ``` 2. 自定义控件 你可以自定义一个控件,继承自 `Button` 类,并添加一个 `ShortcutKeys` 属性。然后在自定义控件中重写 `ProcessCmdKey` 方法,以便在用户按下快捷键时触发按钮的 `Click` 事件。以下是一个简单的示例: ```csharp class ShortcutButton : Button { public Keys ShortcutKeys { get; set; } protected override bool ProcessCmdKey(ref Message msg, Keys keyData) { if (keyData == ShortcutKeys) { OnClick(EventArgs.Empty); return true; } return base.ProcessCmdKey(ref msg, keyData); } } ``` 使用自定义控件时,你可以像普通按钮一样将其添加到窗体中,并设置它的 `ShortcutKeys` 属性。例如: ```csharp shortcutButton1.Text = "My Button"; shortcutButton1.ShortcutKeys = Keys.Control | Keys.Alt | Keys.B; shortcutButton1.Click += new EventHandler(shortcutButton1_Click); ``` 在上面的代码中,`shortcutButton1` 是一个 `ShortcutButton` 类型的控件。当用户按下 `Ctrl + Alt + B` 时,`shortcutButton1` 的 `Click` 事件将会被触发。

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值