//
To use surround-with code snippets through keyboard shortcut
-
In the Visual Studio IDE, open the file that you intend to edit.
-
In the Code Editor, select text to surround.
-
Type Ctrl+K, Ctrl+S.
-
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
-
In the Visual Studio IDE, open the file that you intend to edit.
-
In the Code Editor, select text to surround.
-
From the Edit menu, select IntelliSense and then select the Surround With command.
-
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
-
In the Visual Studio IDE, open the file that you intend to edit.
-
In the Code Editor, select text to surround.
-
Right-click the selected text and then select the Surround With command from the context menu.
-
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
Commands | Keyboard shortcuts | Command ID |
---|---|---|
Build solution | Ctrl+Shift+B | Build.BuildSolution |
Cancel | Ctrl+Break | Build.Cancel |
Compile | Ctrl+F7 | Build.Compile |
Run code analysis on solution | Alt+F11 | Build.RunCodeAnalysisonSolution |
Debug: popular shortcuts
Commands | Keyboard shortcuts [Special contexts] | Command ID |
---|---|---|
Break at function | Ctrl+B | Debug.BreakatFunction |
Break all | Ctrl+Alt+Break | Debug.BreakAll |
Delete all breakpoints | Ctrl+Shift+F9 | Debug.DeleteAllBreakpoints |
Exceptions | Ctrl+Alt+E | Debug.Exceptions |
Quick watch | Ctrl+Alt+Q or Shift+F9 | Debug.QuickWatch |
Restart | Ctrl+Shift+F5 | Debug.Restart |
Run to cursor | Ctrl+F10 | Debug.RunToCursor |
Set next statement | Ctrl+Shift+F10 | Debug.SetNextStatement |
Start | F5 | Debug.Start |
Start without debugging | Ctrl+F5 | Debug.StartWithoutDebugging |
Step into | F11 | Debug.StepInto |
Step out | Shift+F11 | Debug.StepOut |
Step over | F10 | Debug.StepOver |
Stop debugging | Shift+F5 | Debug.StopDebugging |
Toggle breakpoint | F9 | Debug.ToggleBreakpoint |
Edit: popular shortcuts
Commands | Keyboard shortcuts [Special contexts] | Command ID |
---|---|---|
Break line | Enter [Text Editor, Report Designer, Windows Forms Designer] or Shift+Enter [Text Editor] | Edit.BreakLine |
Collapse to definitions | Ctrl+M, Ctrl+O [Text Editor] | Edit.CollapseToDefinitions |
Comment selection | Ctrl+K, Ctrl+C [Text Editor] | Edit.CommentSelection |
Complete word | Alt+Right Arrow [Text Editor, Workflow Designer] or Ctrl+Spacebar [Text Editor, Workflow Designer] or Ctrl+K, W [Workflow Designer] or Ctrl+K, Ctrl+W [Workflow Designer] | Edit.CompleteWord |
Copy | Ctrl+C or Ctrl+Insert | Edit.Copy |
Cut | Ctrl+X or Shift+Delete | Edit.Cut |
Delete | Delete [Team Explorer] or Shift+Delete [Sequence Diagram, UML Activity Diagram, Layer Diagram] or Ctrl+Delete [Class Diagram] | Edit.Delete |
Find | Ctrl+F | Edit.Find |
Find all references | Shift+F12 | Edit.FindAllReferences |
Find in files | Ctrl+Shift+F | Edit.FindinFiles |
Find next | F3 | Edit.FindNext |
Find next selected | Ctrl+F3 | Edit.FindNextSelected |
Format document | Ctrl+K, Ctrl+D [Text Editor] | Edit.FormatDocument |
Format selection | Ctrl+K, Ctrl+F [Text Editor] | Edit.FormatSelection |
Go to | Ctrl+G | Edit.GoTo |
Go to declaration | Ctrl+F12 | Edit.GoToDeclaration |
Go to definition | F12 | Edit.GoToDefinition |
Go to find combo | Ctrl+D | Edit.GoToFindCombo |
Go to next location | F8 | Edit.GoToNextLocation |
Insert snippet | Ctrl+K, Ctrl+X | Edit.InsertSnippet |
Insert tab | Tab [Report Designer, Windows Forms Designer, Text Editor] | Edit.InsertTab |
Line cut | Ctrl+L [Text Editor] | Edit.LineCut |
Line down extend column | Shift+Alt+Down Arrow [Text Editor] | Edit.LineDownExtendColumn |
Line open above | Ctrl+Enter [Text Editor] | Edit.LineOpenAbove |
List members | Ctrl+J [Text Editor, Workflow Designer] or Ctrl+K, Ctrl+L [Workflow Designer] or Ctrl+K, L [Workflow Designer] | Edit.ListMembers |
Navigate to | Ctrl+, | Edit.NavigateTo |
Open file | Ctrl+Shift+G | Edit.OpenFile |
Overtype mode | Insert [Text Editor] | Edit.OvertypeMode |
Parameter info | Ctrl+Shift+Spacebar [Text Editor, Workflow Designer] or Ctrl+K, Ctrl+P [Workflow Designer] or Ctrl+K, P [Workflow Designer] | Edit.ParameterInfo |
Paste | Ctrl+V or Shift+Insert | Edit.Paste |
Peek definition | Alt+F12 [Text Editor] | Edit.PeekDefinition |
Redo | Ctrl+Y or Shift+Alt+Backspace or Ctrl+Shift+Z | Edit.Redo |
Replace | Ctrl+H | Edit.Replace |
Select all | Ctrl+A | Edit.SelectAll |
Select current word | Ctrl+W [Text Editor] | Edit.SelectCurrentWord |
Selection cancel | Esc [Text Editor, Report Designer, Settings Designer, Windows Forms Designer, Managed Resources Editor] | Edit.SelectionCancel |
Surround with | Ctrl+K, Ctrl+S | Edit.SurroundWith |
Tab left | Shift+Tab [Text Editor, Report Designer, Windows Forms Editor] | Edit.TabLeft |
Toggle all outlining | Ctrl+M, Ctrl+L [Text Editor] | Edit.ToggleAllOutlining |
Toggle bookmark | Ctrl+K, Ctrl+K [Text Editor] | Edit.ToggleBookmark |
Toggle completion mode | Ctrl+Alt+Space [Text Editor] | Edit.ToggleCompletionMode |
Toggle outlining expansion | Ctrl+M, Ctrl+M [Text Editor] | Edit.ToggleOutliningExpansion |
Uncomment selection | Ctrl+K, Ctrl+U [Text Editor] | Edit.UncommentSelection |
Undo | Ctrl+Z or Alt+Backspace | Edit.Undo |
Word delete to end | Ctrl+Delete [Text Editor] | Edit.WordDeleteToEnd |
Word delete to start | Ctrl+Backspace [Text Editor] | Edit.WordDeleteToStart |
File: popular shortcuts
Commands | Keyboard shortcuts [Special contexts] | Command ID |
---|---|---|
Exit | Alt+F4 | File.Exit |
New file | Ctrl+N | File.NewFile |
New project | Ctrl+Shift+N | File.NewProject |
New web site | Shift+Alt+N | File.NewWebSite |
Open file | Ctrl+O | File.OpenFile |
Open project | Ctrl+Shift+O | File.OpenProject |
Open web site | Shift+Alt+O | File.OpenWebSite |
Rename | F2 [Team Explorer] | File.Rename |
Save all | Ctrl+Shift+S | File.SaveAll |
Save selected items | Ctrl+S | File.SaveSelectedItems |
View in browser | Ctrl+Shift+W | File.ViewinBrowser |
Project: popular shortcuts
Commands | Keyboard shortcuts [Special contexts] | Command ID |
---|---|---|
Add existing item | Shift+Alt+A | Project.AddExistingItem |
Add new item | Ctrl+Shift+A | Project.AddNewItem |
Refactor: popular shortcuts
Command | Keyboard shortcut [Special contexts] | Command ID |
---|---|---|
Extract method | Ctrl+R, Ctrl+M | Refactor.ExtractMethod |
Tools: popular shortcuts
Command | Keyboard shortcut [Special contexts] | Command ID |
---|---|---|
Attach to process | Ctrl+Alt+P | Tools.AttachtoProcess |
View: popular shortcuts
Commands | Keyboard shortcuts [Special contexts] | Command ID |
---|---|---|
Class view | Ctrl+Shift+C | View.ClassView |
Edit label | F2 | View.EditLabel |
Error list | Ctrl+\, Ctrl+E or Ctrl+\, E | View.ErrorList |
Navigate backward | Ctrl+- | View.NavigateBackward |
Navigate forward | Ctrl+Shift+- | View.NavigateForward |
Object browser | Ctrl+Alt+J | View.ObjectBrowser |
Output | Ctrl+Alt+O | View.Output |
Properties window | F4 | View.PropertiesWindow |
Refresh | F5 [Team Explorer] | View.Refresh |
Server explorer | Ctrl+Alt+S | View.ServerExplorer |
Show smart tag | Ctrl+. or Shift+Alt+F10 [HTML Editor Design View] | View.ShowSmartTag |
Solution explorer | Ctrl+Alt+L | View.SolutionExplorer |
TFS Team explorer | Ctrl+\, Ctrl+M | View.TfsTeamExplorer |
Toolbox | Ctrl+Alt+X | View.Toolbox |
View code | Enter [Class Diagram] or F7 [Settings Designer] | View.ViewCode |
View designer | Shift+F7 [HTML Editor Source View] | View.ViewDesigner |
Window: popular shortcuts
Commands | Keyboard shortcuts [Special contexts] | Command ID |
---|---|---|
Activate document window | Esc | Window.ActivateDocumentWindow |
Close document window | Ctrl+F4 | Window.CloseDocumentWindow |
Next document window | Ctrl+F6 | Window.NextDocumentWindow |
Next document window nav | Ctrl+Tab | Window.NextDocumentWindowNav |
Next split pane | F6 | Window.NextSplitPane |
Global shortcuts
These keyboard shortcuts are global, which means that you can use them when any Visual Studio window has focus.
- Analyze
- Edit
- Project
- Test
- Architecture
- Editor context menus
- Project and Solution context menus
- Test Explorer
- Build
- File
- Refactor
- Tools
- Class View context menus
- Help
- Solution Explorer
- View
- Debug
- Load test
- Team
- Window
- Debugger context menus
- Other context menus
- Team Foundation context menus
- Azure
- Diagnostics hub
Analyze
Commands | Keyboard shortcuts | Command ID |
---|---|---|
Navigate backward | Shift+Alt+3 | Analyze.NavigateBackward |
Navigate forward | Shift+Alt+4 | Analyze.NavigateForward |
Architecture
Commands | Keyboard shortcuts | Command ID |
---|---|---|
New diagram | Ctrl+\, Ctrl+N | Architecture.NewDiagram |
Build
Commands | Keyboard shortcuts | Command ID |
---|---|---|
Build selection | Ctrl+B (Visual Studio 2019) | Build.BuildSelection |
Build solution | Ctrl+Shift+B | Build.BuildSolution |
Cancel | Ctrl+Break | Build.Cancel |
Compile | Ctrl+F7 | Build.Compile |
Run code analysis on solution | Alt+F11 | Build.RunCodeAnalysisonSolution |
Class View context menus
Commands | Keyboard shortcuts | Command ID |
---|---|---|
Properties | Alt+Enter | ClassViewContextMenus.ClassViewMultiselectProjectreferencesItems.Properties |
Debug
Commands | Keyboard shortcuts | Command ID |
---|---|---|
Apply code changes | Alt+F10 | Debug.ApplyCodeChanges |
Attach to process | Ctrl+Alt+P | Debug.AttachtoProcess |
Autos | Ctrl+Alt+V, A | Debug.Autos |
Break all | Ctrl+Alt+Break | Debug.BreakAll |
Breakpoints | Ctrl+Alt+B | Debug.Breakpoints |
Call stack | Ctrl+Alt+C | Debug.CallStack |
Delete all breakpoints | Ctrl+Shift+F9 | Debug.DeleteAllBreakpoints |
Launch | Alt+F2 | Debug.DiagnosticsHub.Launch |
Disassembly | Ctrl+Alt+D | Debug.Disassembly |
Dom explorer | Ctrl+Alt+V, D | Debug.DOMExplorer |
Enable breakpoint | Ctrl+F9 | Debug.EnableBreakpoint |
Exceptions | Ctrl+Alt+E | Debug.Exceptions |
Function breakpoint | Ctrl+K, B (Visual Studio 2019) Ctrl+B (Visual Studio 2017) | Debug.FunctionBreakpoint |
Go to previous call or IntelliTrace event | Ctrl+Shift+F11 | Debug.GoToPreviousCallorIntelliTraceEvent |
Start diagnostics | Alt+F5 | Debug.Graphics.StartDiagnostics |
Immediate | Ctrl+Alt+I | Debug.Immediate |
IntelliTrace calls | Ctrl+Alt+Y, T | Debug.IntelliTraceCalls |
IntelliTrace events | Ctrl+Alt+Y, F | Debug.IntelliTraceEvents |
JavaScript console | Ctrl+Alt+V, C | Debug.JavaScriptConsole |
Locals | Ctrl+Alt+V, L | Debug.Locals |
Process combo | Ctrl+5 | Debug.LocationToolbar.ProcessCombo |
Stack frame combo | Ctrl+7 | Debug.LocationToolbar.StackFrameCombo |
Thread combo | Ctrl+6 | Debug.LocationToolbar.ThreadCombo |
Toggle current thread flagged state | Ctrl+8 | Debug.LocationToolbar.ToggleCurrentThreadFlaggedState |
Toggle flagged threads | Ctrl+9 | Debug.LocationToolbar.ToggleFlaggedThreads |
Memory 1 | Ctrl+Alt+M, 1 | Debug.Memory1 |
Memory 2 | Ctrl+Alt+M, 2 | Debug.Memory2 |
Memory 3 | Ctrl+Alt+M, 3 | Debug.Memory3 |
Memory 4 | Ctrl+Alt+M, 4 | Debug.Memory4 |
Modules | Ctrl+Alt+U | Debug.Modules |
Parallel stacks | Ctrl+Shift+D, S | Debug.ParallelStacks |
Parallel watch 1 | Ctrl+Shift+D, 1 | Debug.ParallelWatch1 |
Parallel watch 2 | Ctrl+Shift+D, 2 | Debug.ParallelWatch2 |
Parallel watch 3 | Ctrl+Shift+D, 3 | Debug.ParallelWatch3 |
Parallel watch 4 | Ctrl+Shift+D, 4 | Debug.ParallelWatch4 |
Processes | Ctrl+Alt+Z | Debug.Processes |
Quick watch | Shift+F9 or Ctrl+Alt+Q | Debug.QuickWatch |
Re attach to process | Shift+Alt+P | Debug.ReattachtoProcess |
Refresh windowsapp | Ctrl+Shift+R | Debug.RefreshWindowsapp |
Registers | Ctrl+Alt+G | Debug.Registers |
Restart | Ctrl+Shift+F5 | Debug.Restart |
Run to cursor | Ctrl+F10 | Debug.RunToCursor |
Set next statement | Ctrl+Shift+F10 | Debug.SetNextStatement |
Show call stack on code map | Ctrl+Shift+` | Debug.ShowCallStackonCodeMap |
Show next statement | Alt+Num * | Debug.ShowNextStatement |
Start | F5 | Debug.Start |
Start windows phone application analysis | Alt+F1 | Debug.StartWindowsPhoneApplicationAnalysis |
Start without debugging | Ctrl+F5 | Debug.StartWithoutDebugging |
Step into | F11 | Debug.StepInto |
Step into current process | Ctrl+Alt+F11 | Debug.StepIntoCurrentProcess |
Step into specific | Shift+Alt+F11 | Debug.StepIntoSpecific |
Step out | Shift+F11 | Debug.StepOut |
Step out current process | Ctrl+Shift+Alt+F11 | Debug.StepOutCurrentProcess |
Step over | F10 (When debugging: Performs a step over action) | Debug.StepOver |
Step over | F10 (When not debugging: Starts debugging and stops on the first line of user code) | Debug.StepOver |
Step over current process | Ctrl+Alt+F10 | Debug.StepOverCurrentProcess |
Stop debugging | Shift+F5 | Debug.StopDebugging |
Stop performance analysis | Shift+Alt+F2 | Debug.StopPerformanceAnalysis |
Tasks | Ctrl+Shift+D, K | Debug.Tasks |
Threads | Ctrl+Alt+H | Debug.Threads |
Toggle breakpoint | F9 | Debug.ToggleBreakpoint |
Toggle disassembly | Ctrl+F11 | Debug.ToggleDisassembly |
Watch 1 | Ctrl+Alt+W, 1 | Debug.Watch1 |
Watch 2 | Ctrl+Alt+W, 2 | Debug.Watch2 |
Watch 3 | Ctrl+Alt+W, 3 | Debug.Watch3 |
Watch 4 | Ctrl+Alt+W, 4 | Debug.Watch4 |
Debugger context menus
Commands | Keyboard shortcuts | Command ID |
---|---|---|
Delete | Alt+F9, D | DebuggerContextMenus.BreakpointsWindow.Delete |
Go to disassembly | Alt+F9, A | DebuggerContextMenus.BreakpointsWindow.GoToDisassembly |
Go to source code | Alt+F9, S | DebuggerContextMenus.BreakpointsWindow.GoToSourceCode |
Diagnostics Hub
Command | Keyboard shortcut | Command ID |
---|---|---|
Stop collection | Ctrl+Alt+F2 | DiagnosticsHub.StopCollection |
Edit
Commands | Keyboard shortcuts | Command ID |
---|---|---|
Copy | Ctrl+C or Ctrl+Ins | Edit.Copy |
Cut | Ctrl+X or Shift+Delete | Edit.Cut |
Cycle clipboard ring | Ctrl+Shift+V or Ctrl+Shift+Ins | Edit.CycleClipboardRing |
Delete | Delete | Edit.Delete |
Duplicate | Ctrl+D | Edit.Duplicate |
Find | Ctrl+F | Edit.Find |
Find all references | Shift+F12 | Edit.FindAllReferences |
Find in files | Ctrl+Shift+F | Edit.FindinFiles |
Find next | F3 | Edit.FindNext |
Find next selected | Ctrl+F3 | Edit.FindNextSelected |
Find previous | Shift+F3 | Edit.FindPrevious |
Find previous selected | Ctrl+Shift+F3 | Edit.FindPreviousSelected |
Generate method | Ctrl+K, Ctrl+M | Edit.GenerateMethod |
Go to | Ctrl+G | Edit.GoTo |
Go to all | Ctrl+, or Ctrl+T | Edit.GoToAll |
Go to declaration | Ctrl+F12 | Edit.GoToDeclaration |
Go to definition | F12 | Edit.GoToDefinition |
Go to member | Ctrl+1, Ctrl+M or Ctrl+1, M or Alt+\ | Edit.GoToMember |
Go to next location | F8 (Next error in Error List or Output window) | Edit.GoToNextLocation |
Go to prev location | Shift+F8 (Previous error in Error List or Output window) | Edit.GoToPrevLocation |
Insert snippet | Ctrl+K, Ctrl+X | Edit.InsertSnippet |
Move control down | Ctrl+Down Arrow | Edit.MoveControlDown |
Move control down grid | Down Arrow | Edit.MoveControlDownGrid |
Move control left | Ctrl+Left Arrow | Edit.MoveControlLeft |
Move control left grid | Left Arrow | Edit.MoveControlLeftGrid |
Move control right | Ctrl+Right Arrow | Edit.MoveControlRight |
Move control right grid | Right Arrow | Edit.MoveControlRightGrid |
Move control up | Ctrl+Up Arrow | Edit.MoveControlUp |
Move control up grid | Up Arrow | Edit.MoveControlUpGrid |
Next bookmark | Ctrl+K, Ctrl+N | Edit.NextBookmark |
Next bookmark in folder | Ctrl+Shift+K, Ctrl+Shift+N | Edit.NextBookmarkInFolder |
Open file | Ctrl+Shift+G (Opens the file name under the cursor) | Edit.OpenFile |
Paste | Ctrl+V or Shift+Ins | Edit.Paste |
Previous bookmark | Ctrl+K, Ctrl+P | Edit.PreviousBookmark |
Previous bookmark in folder | Ctrl+Shift+K, Ctrl+Shift+P | Edit.PreviousBookmarkInFolder |
Quick find symbol | Shift+Alt+F12 | Edit.QuickFindSymbol |
Redo | Ctrl+Y or Ctrl+Shift+Z or Shift+Alt+Backspace | Edit.Redo |
Refresh remote references | Ctrl+Shift+J | Edit.RefreshRemoteReferences |
Replace | Ctrl+H | Edit.Replace |
Replace in files | Ctrl+Shift+H | Edit.ReplaceinFiles |
Select all | Ctrl+A | Edit.SelectAll |
Select next control | Tab | Edit.SelectNextControl |
Select previous control | Shift+Tab | Edit.SelectPreviousControl |
Show tile grid | Enter | Edit.ShowTileGrid |
Size control down | Ctrl+Shift+Down Arrow | Edit.SizeControlDown |
Size control down grid | Shift+Down Arrow | Edit.SizeControlDownGrid |
Size control left | Ctrl+Shift+Left Arrow | Edit.SizeControlLeft |
Size control left grid | Shift+Left Arrow | Edit.SizeControlLeftGrid |
Size control right | Ctrl+Shift+Right Arrow | Edit.SizeControlRight |
Size control right grid | Shift+Right Arrow | Edit.SizeControlRightGrid |
Size control up | Ctrl+Shift+Up Arrow | Edit.SizeControlUp |
Size control up grid | Shift+Up Arrow | Edit.SizeControlUpGrid |
Stop search | Alt+F3, S | Edit.StopSearch |
Surround with | Ctrl+K, Ctrl+S | Edit.SurroundWith |
Undo | Ctrl+Z or Alt+Backspace | Edit.Undo |
Editor context menus
Commands | Keyboard shortcuts | Command ID |
---|---|---|
Breakpoint conditions | Alt+F9, C | EditorContextMenus.CodeWindow.Breakpoint.BreakpointConditions |
Breakpoint edit labels | Alt+F9, L | EditorContextMenus.CodeWindow.Breakpoint.BreakpointEditlabels |
Insert temporary breakpoint | Shift+Alt+F9, T | EditorContextMenus.CodeWindow.Breakpoint.InsertTemporaryBreakpoint |
Show item | Ctrl+` | EditorContextMenus.CodeWindow.CodeMap.ShowItem |
Execute | Ctrl+Alt+F5 | EditorContextMenus.CodeWindow.Execute |
Go to view | Ctrl+M, Ctrl+G | EditorContextMenus.CodeWindow.GoToView |
Toggle header code file | Ctrl+K, Ctrl+O (letter 'O') | EditorContextMenus.CodeWindow.ToggleHeaderCodeFile |
View call hierarchy | Ctrl+K, Ctrl+T or Ctrl+K, T | EditorContextMenus.CodeWindow.ViewCallHierarchy |
File
Commands | Keyboard shortcuts | Command ID |
---|---|---|
Exit | Alt+F4 | File.Exit |
New file | Ctrl+N | File.NewFile |
New project | Ctrl+Shift+N | File.NewProject |
New web site | Shift+Alt+N | File.NewWebSite |
Open file | Ctrl+O (letter 'O') | File.OpenFile |
Open project | Ctrl+Shift+O (letter 'O') | File.OpenProject |
Open web site | Shift+Alt+O (letter 'O') | File.OpenWebSite |
Ctrl+P | File.Print | |
Save all | Ctrl+Shift+S | File.SaveAll |
Save selected items | Ctrl+S | File.SaveSelectedItems |
View in browser | Ctrl+Shift+W | File.ViewinBrowser |
Help
Commands | Keyboard shortcuts | Command ID |
---|---|---|
Add and remove help content | Ctrl+Alt+F1 | Help.AddandRemoveHelpContent |
F1 help | F1 | Help.F1Help |
View help | Ctrl+F1 | Help.ViewHelp |
Window help | Shift+F1 | Help.WindowHelp |
Load test
Command | Keyboard shortcut | Command ID |
---|---|---|
Jump to counter pane | Ctrl+R, Q | LoadTest.JumpToCounterPane |
Other context menus
Command | Keyboard shortcut | Command ID |
---|---|---|
Add new diagram | Insert | OtherContextMenus.MicrosoftDataEntityDesignContext.AddNewDiagram |
Project
Commands | Keyboard shortcuts | Command ID |
---|---|---|
Add existing item | Shift+Alt+A | Project.AddExistingItem |
Add new item | Ctrl+Shift+A | Project.AddNewItem |
Class wizard | Ctrl+Shift+X | Project.ClassWizard |
Override | Ctrl+Alt+Ins | Project.Override |
Preview changes | Alt+; then Alt+C | Project.Previewchanges |
Publish selected files | Alt+; then Alt+P | Project.Publishselectedfiles |
Replace selected files from server | Alt+; then Alt+R | Project.Replaceselectedfilesfromserver |
Project and solution context menus
Commands | Keyboard shortcuts | Command ID |
---|---|---|
Move down | Alt+Down Arrow | ProjectandSolutionContextMenus.Item.MoveDown |
Move up | Alt+Up Arrow | ProjectandSolutionContextMenus.Item.MoveUp |
Refactor
Commands | Keyboard shortcuts | Command ID |
---|---|---|
Encapsulate field | Ctrl+R, Ctrl+E | Refactor.EncapsulateField |
Extract interface | Ctrl+R, Ctrl+I | Refactor.ExtractInterface |
Extract method | Ctrl+R, Ctrl+M | Refactor.ExtractMethod |
Remove parameters | Ctrl+R, Ctrl+V | Refactor.RemoveParameters |
Rename | Ctrl+R, Ctrl+R | Refactor.Rename |
Reorder parameters | Ctrl+R, Ctrl+O (letter 'O') | Refactor.ReorderParameters |
Solution Explorer
Commands | Keyboard shortcuts | Command ID |
---|---|---|
Open files filter | Ctrl+[, O (letter 'O') or Ctrl+[, Ctrl+O (letter 'O') | SolutionExplorer.OpenFilesFilter |
Pending changes filter | Ctrl+[, P or Ctrl+[, Ctrl+P | SolutionExplorer.PendingChangesFilter |
Sync with active document | Ctrl+[, S or Ctrl+[, Ctrl+S | SolutionExplorer.SyncWithActiveDocument |
Team
Commands | Keyboard shortcuts | Command ID |
---|---|---|
Go to git branches | Ctrl+0 (zero), Ctrl+N or Ctrl+0, N | Team.Git.GoToGitBranches |
Go to git changes | Ctrl+0 (zero), Ctrl+G or Ctrl+0, G | Team.Git.GoToGitChanges |
Go to git commits | Ctrl+0 (zero), Ctrl+O (letter 'O') or Ctrl+0, O | Team.Git.GoToGitCommits |
Team explorer search | Ctrl+' | Team.TeamExplorerSearch |
Team Foundation context menus
Commands | Keyboard shortcuts | Command ID |
---|---|---|
Go to builds | Ctrl+0 (zero), Ctrl+B or Ctrl+0, B | TeamFoundationContextMenus.Commands.GoToBuilds |
Go to connect | Ctrl+0 (zero), Ctrl+C or Ctrl+0, C | TeamFoundationContextMenus.Commands.GoToConnect |
Go to documents | Ctrl+0 (zero), Ctrl+D or Ctrl+0, D | TeamFoundationContextMenus.Commands.GoToDocuments |
Go to home | Ctrl+0 (zero), Ctrl+H or Ctrl+0, H | TeamFoundationContextMenus.Commands.GoToHome |
Go to my work | Ctrl+0 (zero), Ctrl+M or Ctrl+0, M | TeamFoundationContextMenus.Commands.GoToMyWork |
Go to pending changes | Ctrl+0 (zero), Ctrl+P or Ctrl+0, P | TeamFoundationContextMenus.Commands.GoToPendingChanges |
Go to reports | Ctrl+0 (zero), Ctrl+R or Ctrl+0, R | TeamFoundationContextMenus.Commands.GoToReports |
Go to settings | Ctrl+0 (zero), Ctrl+S or Ctrl+0, S | TeamFoundationContextMenus.Commands.GoToSettings |
Go to web access | Ctrl+0 (zero), Ctrl+A or Ctrl+0, A | TeamFoundationContextMenus.Commands.GoToWebAccess |
Go to work items | Ctrl+0 (zero), Ctrl+W or Ctrl+0, W | TeamFoundationContextMenus.Commands.GoToWorkItems |
Test
Commands | Keyboard shortcuts | Command ID |
---|---|---|
Use coded ui test builder | Ctrl+\, Ctrl+C | Test.UseCodedUITestBuilder |
Use existing action recording | Ctrl+\, Ctrl+A | Test.UseExistingActionRecording |
Test Explorer
Commands | Keyboard shortcuts | Command ID |
---|---|---|
Debug all tests | Ctrl+R, Ctrl+A | TestExplorer.DebugAllTests |
Debug all tests in context | Ctrl+R, Ctrl+T | TestExplorer.DebugAllTestsInContext |
Debug last run | Ctrl+R, D | TestExplorer.DebugLastRun |
Repeat last run | Ctrl+R, L | TestExplorer.RepeatLastRun |
Run all tests | Ctrl+R, A | TestExplorer.RunAllTests |
Run all tests in context | Ctrl+R, T | TestExplorer.RunAllTestsInContext |
Show test explorer | Ctrl+E, T | TestExplorer.ShowTestExplorer |
Open tab | Ctrl+E, L | LiveUnitTesting.OpenTab |
Code coverage results | Ctrl+E, C | Test.CodeCoverageResults |
Tools
Commands | Keyboard shortcuts | Command ID |
---|---|---|
Attach to process | Ctrl+Alt+P | Tools.AttachtoProcess |
Code snippets manager | Ctrl+K, Ctrl+B | Tools.CodeSnippetsManager |
Force gc | Ctrl+Shift+Alt+F12, Ctrl+Shift+Alt+F12 | Tools.ForceGC |
View
Commands | Keyboard shortcuts | Command ID |
---|---|---|
All windows | Shift+Alt+M | View.AllWindows |
Architecture explorer | Ctrl+\, Ctrl+R | View.ArchitectureExplorer |
Backward | Alt+Left Arrow (Functions differently from View.NavigateBackward in Text Editor) | View.Backward |
Bookmark window | Ctrl+K, Ctrl+W | View.BookmarkWindow |
Browse next | Ctrl+Shift+1 | View.BrowseNext |
Browse previous | Ctrl+Shift+2 | View.BrowsePrevious |
Call hierarchy | Ctrl+Alt+K | View.CallHierarchy |
Class view | Ctrl+Shift+C | View.ClassView |
Class view go to search combo | Ctrl+K, Ctrl+V | View.ClassViewGoToSearchCombo |
Code definition window | Ctrl+\, D or Ctrl+\, Ctrl+D | View.CodeDefinitionWindow |
Command window | Ctrl+Alt+A | View.CommandWindow |
Data sources | Shift+Alt+D | View.DataSources |
Document outline | Ctrl+Alt+T | View.DocumentOutline |
Edit label | F2 | View.EditLabel |
Error list | Ctrl+\, E or Ctrl+\, Ctrl+E | View.ErrorList |
F# interactive | Ctrl+Alt+F | View.F#Interactive |
Find symbol results | Ctrl+Alt+F12 | View.FindSymbolResults |
Forward | Alt+Right Arrow (Functions differently from View.NavigateForward in Text Editor) | View.Forward |
Forward browse context | Ctrl+Shift+7 | View.ForwardBrowseContext |
Full screen | Shift+Alt+Enter | View.FullScreen |
Navigate backward | Ctrl+- | View.NavigateBackward |
Navigate forward | Ctrl+Shift+- | View.NavigateForward |
Next error | Ctrl+Shift+F12 | View.NextError |
Notifications | Ctrl+W, N or Ctrl+W, Ctrl+N | View.Notifications |
Object browser | Ctrl+Alt+J | View.ObjectBrowser |
Object browser go to search combo | Ctrl+K, Ctrl+R | View.ObjectBrowserGoToSearchCombo |
Output | Ctrl+Alt+O (letter 'O') | View.Output |
Pop browse context | Ctrl+Shift+8 (C++ only) | View.PopBrowseContext |
Properties window | F4 | View.PropertiesWindow |
Property pages | Shift+F4 | View.PropertyPages |
Resource view | Ctrl+Shift+E | View.ResourceView |
Server explorer | Ctrl+Alt+S | View.ServerExplorer |
Show smart tag | Shift+Alt+F10 or Ctrl+. | View.ShowSmartTag |
Solution explorer | Ctrl+Alt+L | View.SolutionExplorer |
SQL server object explorer | Ctrl+\, Ctrl+S | View.SQLServerObjectExplorer |
Task list | Ctrl+\, T or Ctrl+\, Ctrl+T | View.TaskList |
TFS team explorer | Ctrl+\, Ctrl+M | View.TfsTeamExplorer |
Toolbox | Ctrl+Alt+X | View.Toolbox |
UML model explorer | Ctrl+\, Ctrl+U | View.UMLModelExplorer |
View code | F7 | View.ViewCode |
View designer | Shift+F7 | View.ViewDesigner |
Web browser | Ctrl+Alt+R | View.WebBrowser |
Zoom in | Ctrl+Shift+. | View.ZoomIn |
Zoom out | Ctrl+Shift+, | View.ZoomOut |
Show Test Explorer | Ctrl+E, T | TestExplorer.ShowTestExplorer |
Window
Commands | Keyboard shortcuts | Command ID |
---|---|---|
Activate document window | Esc | Window.ActivateDocumentWindow |
Add tab to selection | Ctrl+Shift+Alt+Space | Window.AddTabtoSelection |
Close document window | Ctrl+F4 | Window.CloseDocumentWindow |
Close tool window | Shift+Esc | Window.CloseToolWindow |
Keep tab open | Ctrl+Alt+Home | Window.KeepTabOpen |
Move to navigation bar | Ctrl+F2 | Window.MovetoNavigationBar |
Next document window | Ctrl+F6 | Window.NextDocumentWindow |
Next document window nav | Ctrl+Tab | Window.NextDocumentWindowNav |
Next pane | Alt+F6 | Window.NextPane |
Next split pane | F6 | Window.NextSplitPane |
Next tab | Ctrl+Alt+PgDn or Ctrl+PgDn | Window.NextTab |
Next tab and add to selection | Ctrl+Shift+Alt+PgDn | Window.NextTabandAddtoSelection |
Next tool window nav | Alt+F7 | Window.NextToolWindowNav |
Previous document window | Ctrl+Shift+F6 | Window.PreviousDocumentWindow |
Previous document window nav | Ctrl+Shift+Tab | Window.PreviousDocumentWindowNav |
Previous pane | Shift+Alt+F6 | Window.PreviousPane |
Previous split pane | Shift+F6 | Window.PreviousSplitPane |
Previous tab | Ctrl+Alt+PgUp or Ctrl+PgUp | Window.PreviousTab |
Previous tab and add to selection | Ctrl+Shift+Alt+PgUp | Window.PreviousTabandAddtoSelection |
Previous tool window nav | Shift+Alt+F7 | Window.PreviousToolWindowNav |
Quick launch | Ctrl+Q | Window.QuickLaunch |
Quick launch previous category | Ctrl+Shift+Q | Window.QuickLaunchPreviousCategory |
Show dock menu | Alt+- | Window.ShowDockMenu |
Show Ex MDI file list | Ctrl+Alt+Down Arrow | Window.ShowEzMDIFileList |
Solution explorer search | Ctrl+; | Window.SolutionExplorerSearch |
Window search | Alt+` | Window.WindowSearch |
Azure
Commands | Keyboard shortcuts | Command ID |
---|---|---|
Retry mobile service script operation | Ctrl+Num *, Ctrl+R | WindowsAzure.RetryMobileServiceScriptOperation |
Show mobile service script error details | Ctrl+Num *, Ctrl+D | WindowsAzure.ShowMobileServiceScriptErrorDetails |
Context-specific shortcuts
ADO.NET Entity Data Model Designer
The shortcuts specific to this context are:
Commands | Keyboard shortcuts | Command ID |
---|---|---|
Down | Alt+Down Arrow | OtherContextMenus.MicrosoftDataEntityDesignContext.MoveProperties.Down |
Down 5 | Alt+PgDn | OtherContextMenus.MicrosoftDataEntityDesignContext.MoveProperties.Down5 |
To bottom | Alt+End | OtherContextMenus.MicrosoftDataEntityDesignContext.MoveProperties.ToBottom |
To top | Alt+Home | OtherContextMenus.MicrosoftDataEntityDesignContext.MoveProperties.ToTop |
Up | Alt+Up Arrow | OtherContextMenus.MicrosoftDataEntityDesignContext.MoveProperties.Up |
Up 5 | Alt+PgUp | OtherContextMenus.MicrosoftDataEntityDesignContext.MoveProperties.Up5 |
Rename | Ctrl+R, R | OtherContextMenus.MicrosoftDataEntityDesignContext.Refactor.Rename |
Remove from diagram | Shift+Del | OtherContextMenus.MicrosoftDataEntityDesignContext.RemovefromDiagram |
Entity data model browser | Ctrl+1 | View.EntityDataModelBrowser |
Entity data model mapping details | Ctrl+2 | View.EntityDataModelMappingDetails |
Class diagram
The shortcuts specific to this context are:
Commands | Keyboard shortcuts | Command ID |
---|---|---|
Collapse | Num - | ClassDiagram.Collapse |
Expand | Num + | ClassDiagram.Expand |
Delete | Ctrl+Del | Edit.Delete |
Expand collapse base type list | Shift+Alt+B | Edit.ExpandCollapseBaseTypeList |
Navigate to lollipop | Shift+Alt+L | Edit.NavigateToLollipop |
Remove from diagram | Delete | Edit.RemovefromDiagram |
View code | Enter | View.ViewCode |
Coded UI Test Editor
The shortcuts specific to this context are:
Commands | Keyboard shortcuts | Command ID |
---|---|---|
Copy reference to clipboard | Ctrl+C | OtherContextMenus.UITestEditorContextMenu.CopyReferencetoClipboard |
Insert delay before | Ctrl+Alt+D | OtherContextMenus.UITestEditorContextMenu.InsertDelayBefore |
Locate all | Shift+Alt+L | OtherContextMenus.UITestEditorContextMenu.LocateAll |
Locate the ui control | Ctrl+Shift+L | OtherContextMenus.UITestEditorContextMenu.LocatetheUIControl |
Move code | Ctrl+Alt+C | OtherContextMenus.UITestEditorContextMenu.Movecode |
Split into a new method | Ctrl+Shift+T | OtherContextMenus.UITestEditorContextMenu.Splitintoanewmethod |
DataSet Editor
The shortcuts specific to this context are:
Commands | Keyboard shortcuts | Command ID |
---|---|---|
Insert column | Insert | OtherContextMenus.ColumnContext.InsertColumn |
Column | Ctrl+L | OtherContextMenus.DbTableContext.Add.Column |
Difference Viewer
The shortcuts specific to this context are:
Commands | Keyboard shortcuts | Command ID |
---|---|---|
Ignore trim whitespace | Ctrl+\, Ctrl+Spacebar | Diff.IgnoreTrimWhitespace |
Inline view | Ctrl+\, Ctrl+1 | Diff.InlineView |
Left only view | Ctrl+\, Ctrl+3 | Diff.LeftOnlyView |
Next difference | F8 | Diff.NextDifference |
Previous difference | Shift+F8 | Diff.PreviousDifference |
Right only view | Ctrl+\, Ctrl+4 | Diff.RightOnlyView |
Side by side view | Ctrl+\, Ctrl+2 | Diff.SideBySideView |
Switch between left and right | Ctrl+\, Ctrl+Tab | Diff.SwitchBetweenLeftAndRight |
Synchronize view toggle | Ctrl+\, Ctrl+Down Arrow | Diff.SynchronizeViewToggle |
Add comment | Ctrl+Shift+K | EditorContextMenus.CodeWindow.AddComment |
Edit local file | Ctrl+Shift+P | EditorContextMenus.CodeWindow.EditLocalFile |
DOM Explorer
The shortcuts specific to this context are:
Commands | Keyboard shortcuts | Command ID |
---|---|---|
Refresh | F5 | DOMExplorer.Refresh |
Select element | Ctrl+B | DOMExplorer.SelectElement |
Show layout | Ctrl+Shift+I | DOMExplorer.ShowLayout |
F# interactive
The shortcuts specific to this context are:
Command | Keyboard shortcut | Command ID |
---|---|---|
Cancel interactive evaluation | Ctrl+Break | OtherContextMenus.FSIConsoleContext.CancelInteractiveEvaluation |
Graph Document Editor
The shortcuts specific to this context are:
Commands | Keyboard shortcuts | Command ID |
---|---|---|
Add node | Insert | ArchitectureContextMenus.DirectedGraphContextMenu.Advanced.Add.AddNode |
Both dependencies | B | ArchitectureContextMenus.DirectedGraphContextMenu.Advanced.Select.BothDependencies |
Incoming dependencies | I | ArchitectureContextMenus.DirectedGraphContextMenu.Advanced.Select.IncomingDependencies |
Outgoing dependencies | O | ArchitectureContextMenus.DirectedGraphContextMenu.Advanced.Select.OutgoingDependencies |
New comment | Ctrl+Shift+K or Ctrl+E, C | ArchitectureContextMenus.DirectedGraphContextMenu.NewComment |
Remove | Delete | ArchitectureContextMenus.DirectedGraphContextMenu.Remove |
Rename | F2 | ArchitectureContextMenus.DirectedGraphContextMenu.Rename |
Graphics diagnostics
The shortcuts specific to this context are:
Commands | Keyboard shortcuts | Command ID |
---|---|---|
Capture frame | None | Debug.Graphics.CaptureFrame |
Move pixel selection down | Shift+Alt+Down Arrow | Graphics.MovePixelSelectionDown |
Move pixel selection left | Shift+Alt+Left Arrow | Graphics.MovePixelSelectionLeft |
Move pixel selection right | Shift+Alt+Right Arrow | Graphics.MovePixelSelectionRight |
Move pixel selection up | Shift+Alt+Up Arrow | Graphics.MovePixelSelectionUp |
Zoom to actual size | Shift+Alt+0 (zero) | Graphics.ZoomToActualSize |
Zoom to fit in window | Shift+Alt+9 | Graphics.ZoomToFitInWindow |
Zoom in | Shift+Alt+= | Graphics.ZoomIn |
Zoom out | Shift+Alt+- | Graphics.ZoomOut |
HTML Editor
The shortcuts specific to this context are:
Command | Keyboard shortcut | Command ID |
---|---|---|
Go to controller | Ctrl+M, Ctrl+G | OtherContextMenus.HTMLContext.GoToController |
HTML Editor Design View
The shortcuts specific to this context are:
Commands | Keyboard shortcuts | Command ID |
---|---|---|
Move control down | Ctrl+Down Arrow | Edit.MoveControlDown |
Move control up | Ctrl+Up Arrow | Edit.MoveControlUp |
Bold | Ctrl+B | Format.Bold |
Convert to hyperlink | Ctrl+L | Format.ConverttoHyperlink |
Insert bookmark | Ctrl+Shift+L | Format.InsertBookmark |
Italic | Ctrl+I | Format.Italic |
Underline | Ctrl+U | Format.Underline |
Add content page | Ctrl+M, Ctrl+C | Project.AddContentPage |
Column to the left | Ctrl+Alt+Left Arrow | Table.ColumntotheLeft |
Column to the right | Ctrl+Alt+Right Arrow | Table.ColumntotheRight |
Row above | Ctrl+Alt+Up Arrow | Table.RowAbove |
Row below | Ctrl+Alt+Down Arrow | Table.RowBelow |
Net nonvisual controls | Ctrl+Shift+N | View.ASP.NETNonvisualControls |
Edit master | Ctrl+M, Ctrl+M | View.EditMaster |
Next view | Ctrl+PgDn | View.NextView |
Show smart tag | Shift+Alt+F10 | View.ShowSmartTag |
View markup | Shift+F7 | View.ViewMarkup |
Previous tab | Ctrl+PgUp | Window.PreviousTab |
HTML Editor Source View
The shortcuts specific to this context are:
Commands | Keyboard shortcuts | Command ID |
---|---|---|
Go to controller | Ctrl+M, Ctrl+G | OtherContextMenus.HTMLContext.GoToController |
Next view | Ctrl+PgDn | View.NextView |
Synchronize views | Ctrl+Shift+Y | View.SynchronizeViews |
View designer | Shift+F7 | View.ViewDesigner |
Previous tab | Ctrl+PgUp | Window.PreviousTab |
Layer diagram
The shortcuts specific to this context are:
Command | Keyboard shortcut | Command ID |
---|---|---|
Delete | Shift+Delete | Edit.Delete |
Managed Resources Editor
The shortcuts specific to this context are:
Commands | Keyboard shortcuts | Command ID |
---|---|---|
Edit cell | F2 | Edit.EditCell |
Remove | Delete | Edit.Remove |
Remove row | Ctrl+Delete | Edit.RemoveRow |
Selection cancel | Escape | Edit.SelectionCancel |
Audio | Ctrl+4 | Resources.Audio |
Files | Ctrl+5 | Resources.Files |
Icons | Ctrl+3 | Resources.Icons |
Images | Ctrl+2 | Resources.Images |
Other | Ctrl+6 | Resources.Other |
Strings | Ctrl+1 | Resources.Strings |
Merge Editor window
The shortcuts specific to this context are:
Commands | Keyboard shortcuts | Command ID |
---|---|---|
Set focus on left window | Alt+1 | TeamFoundationContextMenus.MergeContextMenu.SetFocusonLeftWindow |
Set focus on result window | Alt+2 | TeamFoundationContextMenus.MergeContextMenu.SetFocusonResultWindow |
Set focus on right window | Alt+3 | TeamFoundationContextMenus.MergeContextMenu.SetFocusonRightWindow |
Microsoft SQL Server Data Tools, Schema Compare
The shortcuts specific to this context are:
Commands | Keyboard shortcuts | Command ID |
---|---|---|
SSDT schema compare compare | Shift+Alt+C | SQL.SSDTSchemaCompareCompare |
SSDT schema compare generate script | Shift+Alt+G | SQL.SSDTSchemaCompareGenerateScript |
SSDT schema compare next change | Shift+Alt+. | SQL.SSDTSchemaCompareNextChange |
SSDT schema compare previous change | Shift+Alt+, | SQL.SSDTSchemaComparePreviousChange |
SSDT schema compare stop | Alt+Break | SQL.SSDTSchemaCompareStop |
SSDT schema compare write updates | Shift+Alt+U | SQL.SSDTSchemaCompareWriteUpdates |
Microsoft SQL Server Data Tools, Table Designer
The shortcuts specific to this context are:
Commands | Keyboard shortcuts | Command ID |
---|---|---|
CommitAllEdits | Shift+Alt+U | |
Expand wildcards | Ctrl+R, E or Ctrl+R, Ctrl+E | SQL.ExpandWildcards |
Fully qualify names | Ctrl+R, Q or Ctrl+R, Ctrl+Q | SQL.FullyqualifyNames |
Move to schema | Ctrl+R, M or Ctrl+R, Ctrl+M | SQL.MovetoSchema |
Rename | F2 or Ctrl+R, R or Ctrl+R, Ctrl+R | SQL.Rename |
ViewFileInScriptPanel | Shift+Alt+PgDn |
Microsoft SQL Server Data Tools, T-SQL Editor
The shortcuts specific to this context are:
Commands | Keyboard shortcuts | Command ID |
---|---|---|
CommitAllEdits | Shift+Alt+U | |
Execute with debugger | Alt+F5 | SQL.ExecuteWithDebugger |
Expand wildcards | Ctrl+R, E or Ctrl+R, Ctrl+E | SQL.ExpandWildcards |
Fully qualify names | Ctrl+R, Q or Ctrl+R, Ctrl+Q | SQL.FullyqualifyNames |
Move to schema | Ctrl+R, M or Ctrl+R, Ctrl+M | SQL.MovetoSchema |
Rename | F2 or Ctrl+R, R or Ctrl+R, Ctrl+R | SQL.Rename |
T SQL editor cancel query | Alt+Break | SQL.TSqlEditorCancelQuery |
T SQL editor execute query | Ctrl+Shift+E | SQL.TSqlEditorExecuteQuery |
T SQL editor results as file | Ctrl+D, F | SQL.TSqlEditorResultsAsFile |
T SQL editor results as grid | Ctrl+D, G | SQL.TSqlEditorResultsAsGrid |
T SQL editor results as text | Ctrl+D, T | SQL.TSqlEditorResultsAsText |
T SQL editor show estimated plan | Ctrl+D, E | SQL.TSqlEditorShowEstimatedPlan |
T SQL editor toggle execution plan | Ctrl+D, A | SQL.TSqlEditorToggleExecutionPlan |
T SQL editor toggle results pane | Ctrl+D, R | SQL.TSqlEditorToggleResultsPane |
T SQL editor clone query | Ctrl+Alt+N | SQL.TSqlEditorCloneQuery |
T SQL editor database combo | Shift+Alt+PgDn | SQL.TSqlEditorDatabaseCombo |
Microsoft SQL Server Data Tools, T-SQL PDW Editor
The shortcuts specific to this context are:
Commands | Keyboard shortcuts | Command ID |
---|---|---|
T SQL editor cancel query | Alt+Break | SQL.TSqlEditorCancelQuery |
T SQL editor execute query | Ctrl+Shift+E | SQL.TSqlEditorExecuteQuery |
T SQL editor results as file | Ctrl+D, F | SQL.TSqlEditorResultsAsFile |
T SQL editor results as grid | Ctrl+D, G | SQL.TSqlEditorResultsAsGrid |
T SQL editor results as text | Ctrl+D, T | SQL.TSqlEditorResultsAsText |
T SQL editor show estimated plan | Ctrl+D, E | SQL.TSqlEditorShowEstimatedPlan |
T SQL editor toggle execution plan | Ctrl+D, A | SQL.TSqlEditorToggleExecutionPlan |
T SQL editor toggle results pane | Ctrl+D, R | SQL.TSqlEditorToggleResultsPane |
T SQL editor clone query | Ctrl+Alt+N | SQL.TSqlEditorCloneQuery |
T SQL editor clone query | Shift+Alt+PgDn | SQL.TSqlEditorCloneQuery |
Page Inspector
The shortcuts specific to this context are:
Command | Keyboard shortcut | Command ID |
---|---|---|
Minimize | F12 | PageInspector.Minimize |
Query Designer
The shortcuts specific to this context are:
Commands | Keyboard shortcuts | Command ID |
---|---|---|
Cancel retrieving data | Ctrl+T | QueryDesigner.CancelRetrievingData |
Criteria | Ctrl+2 | QueryDesigner.Criteria |
Diagram | Ctrl+1 | QueryDesigner.Diagram |
Execute SQL | Ctrl+R | QueryDesigner.ExecuteSQL |
Goto row | Ctrl+G | QueryDesigner.GotoRow |
Join mode | Ctrl+Shift+J | QueryDesigner.JoinMode |
Results | Ctrl+4 | QueryDesigner.Results |
Sql | Ctrl+3 | QueryDesigner.SQL |
Query results
The shortcuts specific to this context are:
Commands | Keyboard shortcuts | Command ID |
---|---|---|
Query results new row | Alt+End | SQL.QueryResultsNewRow |
Query results refresh | Shift+Alt+R | SQL.QueryResultsRefresh |
Query results stop | Alt+Break | SQL.QueryResultsStop |
Report Designer
The shortcuts specific to this context are:
Commands | Keyboard shortcuts | Command ID |
---|---|---|
Break line | Enter | Edit.BreakLine |
Char left | Left Arrow | Edit.CharLeft |
Char left extend | Shift+Left Arrow | Edit.CharLeftExtend |
Char right | Right Arrow | Edit.CharRight |
Char right extend | Shift+Right Arrow | Edit.CharRightExtend |
Insert tab | Tab | Edit.InsertTab |
Line down | Down Arrow | Edit.LineDown |
Line down extend | Shift+Down Arrow | Edit.LineDownExtend |
Line up | Up Arrow | Edit.LineUp |
Line up extend | Shift+Up Arrow | Edit.LineUpExtend |
Move control down | Ctrl+Down Arrow | Edit.MoveControlDown |
Move control left | Ctrl+Left Arrow | Edit.MoveControlLeft |
Move control right | Ctrl+Right Arrow | Edit.MoveControlRight |
Move control up | Ctrl+Up Arrow | Edit.MoveControlUp |
Selection cancel | Esc | Edit.SelectionCancel |
Size control down | Ctrl+Shift+Down Arrow | Edit.SizeControlDown |
Size control left | Ctrl+Shift+Left Arrow | Edit.SizeControlLeft |
Size control right | Ctrl+Shift+Right Arrow | Edit.SizeControlRight |
Size control up | Ctrl+Shift+Up Arrow | Edit.SizeControlUp |
Tab left | Shift+Tab | Edit.TabLeft |
Report data | Ctrl+Alt+D | View.ReportData |
Sequence diagram
The shortcuts specific to this context are:
Commands | Keyboard shortcuts | Command ID |
---|---|---|
Navigate to code | F12 | ArchitectureDesigner.Sequence.NavigateToCode |
Delete | Shift+Del | Edit.Delete |
Settings Designer
The shortcuts specific to this context are:
Commands | Keyboard shortcuts | Command ID |
---|---|---|
Edit cell | F2 | Edit.EditCell |
Remove row | Ctrl+Delete | Edit.RemoveRow |
Selection cancel | Esc | Edit.SelectionCancel |
View code | F7 | View.ViewCode |
Solution Explorer
The shortcuts specific to this context are:
Command | Keyboard shortcut | Command ID |
---|---|---|
View in page inspector | Ctrl+K, Ctrl+G | ClassViewContextMenus.ClassViewProject.View.ViewinPageInspector |
Team Explorer
The shortcuts specific to this context are:
Command | Keyboard Shortcut | Command ID |
---|---|---|
Delete | Delete | Edit.Delete |
Rename | F2 | File.Rename |
Go to team explorer navigation | Alt+Home | TeamFoundationContextMenus.Commands.GoToTeamExplorerNavigation |
Go to team explorer next section content | Alt+Down Arrow | TeamFoundationContextMenus.Commands.GoToTeamExplorerNextSectionContent |
Go to team explorer page content | Alt+0 (zero) | TeamFoundationContextMenus.Commands.GoToTeamExplorerPageContent |
Go to team explorer previous section content | Alt+Up Arrow | TeamFoundationContextMenus.Commands.GoToTeamExplorerPreviousSectionContent |
Go to team explorer section 1 content | Alt+1 | TeamFoundationContextMenus.Commands.GoToTeamExplorerSection1Content |
Go to team explorer section 2 content | Alt+2 | TeamFoundationContextMenus.Commands.GoToTeamExplorerSection2Content |
Go to team explorer section 3 content | Alt+3 | TeamFoundationContextMenus.Commands.GoToTeamExplorerSection3Content |
Go to team explorer section 4 content | Alt+4 | TeamFoundationContextMenus.Commands.GoToTeamExplorerSection4Content |
Go to team explorer section 5 content | Alt+5 | TeamFoundationContextMenus.Commands.GoToTeamExplorerSection5Content |
Go to team explorer section 6 content | Alt+6 | TeamFoundationContextMenus.Commands.GoToTeamExplorerSection6Content |
Go to team explorer section 7 content | Alt+7 | TeamFoundationContextMenus.Commands.GoToTeamExplorerSection7Content |
Go to team explorer section 8 content | Alt+8 | TeamFoundationContextMenus.Commands.GoToTeamExplorerSection8Content |
Go to team explorer section 9 content | Alt+9 | TeamFoundationContextMenus.Commands.GoToTeamExplorerSection9Content |
Team explorer navigate backward | Alt+Left Arrow | TeamFoundationContextMenus.Commands.TeamExplorerNavigateBackward |
Team explorer navigate forward | Alt+Right Arrow | TeamFoundationContextMenus.Commands.TeamExplorerNavigateForward |
TFS context my work page create copy wi | Shift+Alt+C | TeamFoundationContextMenus.MyWorkPageInProgress.TfsContextMyWorkPageCreateCopyWI |
TFS context my work page new linked wi | Shift+Alt+L | TeamFoundationContextMenus.MyWorkPageInProgress.TfsContextMyWorkPageNewLinkedWI |
Refresh | F5 | View.Refresh |
Test Explorer
The shortcuts specific to this context are:
Command | Keyboard shortcut | Command ID |
---|---|---|
Open test | F12 | TestExplorer.OpenTest |
Text Editor
The shortcuts specific to this context are:
Commands | Keyboard shortcuts | Command ID |
---|---|---|
Break line | Enter or Shift+Enter | Edit.BreakLine |
Char left | Left Arrow | Edit.CharLeft |
Char left extend | Shift+Left Arrow | Edit.CharLeftExtend |
Char left extend column | Shift+Alt+Left Arrow | Edit.CharLeftExtendColumn |
Char right | Right Arrow | Edit.CharRight |
Char right extend | Shift+Right Arrow | Edit.CharRightExtend |
Char right extend column | Shift+Alt+Right Arrow | Edit.CharRightExtendColumn |
Clear bookmarks | Ctrl+K, Ctrl+L | Edit.ClearBookmarks |
Collapse all outlining | Ctrl+M, Ctrl+A | Edit.CollapseAllOutlining |
Collapse current region | Ctrl+M, Ctrl+S | Edit.CollapseCurrentRegion |
Collapse tag | Ctrl+M, Ctrl+T | Edit.CollapseTag |
Collapse to definitions | Ctrl+M, Ctrl+O (letter 'O') | Edit.CollapseToDefinitions |
Contract selection | Shift+Alt+- | Edit.ContractSelection |
Comment selection | Ctrl+K, Ctrl+C | Edit.CommentSelection |
Complete word | Ctrl+Space or Alt+Right Arrow | Edit.CompleteWord |
Copy parameter tip | Ctrl+Shift+Alt+C | Edit.CopyParameterTip |
Decrease filter level | Alt+, | Edit.DecreaseFilterLevel |
Delete backwards | Backspace or Shift+Bkspce | Edit.DeleteBackwards |
Delete horizontal white space | Ctrl+K, Ctrl+\ | Edit.DeleteHorizontalWhiteSpace |
Document end | Ctrl+End | Edit.DocumentEnd |
Document end extend | Ctrl+Shift+End | Edit.DocumentEndExtend |
Document start | Ctrl+Home | Edit.DocumentStart |
Document start extend | Ctrl+Shift+Home | Edit.DocumentStartExtend |
Expand all outlining | Ctrl+M, Ctrl+X | Edit.ExpandAllOutlining |
Expand current region | Ctrl+M, Ctrl+E | Edit.ExpandCurrentRegion |
Expand selection | Shift+Alt+= | Edit.ExpandSelection |
Expand selection to containing block | Shift+Alt+] | Edit.ExpandSelectiontoContainingBlock |
Format document | Ctrl+K, Ctrl+D | Edit.FormatDocument |
Format selection | Ctrl+K, Ctrl+F | Edit.FormatSelection |
Goto all | Ctrl+T or Ctrl+, | Edit.GotoAll |
Goto brace | Ctrl+] | Edit.GotoBrace |
Goto brace extend | Ctrl+Shift+] | Edit.GotoBraceExtend |
Goto recent | Ctrl+T,R | Edit.GotoRecent |
Goto next issue in file | Alt+PgDn | Edit.GotoNextIssueinFile |
Goto previous issue in file | Alt+PgUp | Edit.GotoPreviousIssueinFile |
Hide selection | Ctrl+M, Ctrl+H | Edit.HideSelection |
Increase filter level | Alt+. | Edit.IncreaseFilterLevel |
Incremental search | Ctrl+I | Edit.IncrementalSearch |
Insert carets at all matching | Shift+Alt+; | Edit.InsertCaretsatAllMatching |
Insert next matching caret | Shift+Alt+. | Edit.InsertNextMatchingCaret |
Insert tab | Tab | Edit.InsertTab |
Line cut | Ctrl+L | Edit.LineCut |
Line delete | Ctrl+Shift+L | Edit.LineDelete |
Line down | Down Arrow | Edit.LineDown |
Line down extend | Shift+Down Arrow | Edit.LineDownExtend |
Line down extend column | Shift+Alt+Down Arrow | Edit.LineDownExtendColumn |
Line end | End | Edit.LineEnd |
Line end extend | Shift+End | Edit.LineEndExtend |
Line end extend column | Shift+Alt+End | Edit.LineEndExtendColumn |
Line open above | Ctrl+Enter | Edit.LineOpenAbove |
Line open below | Ctrl+Shift+Enter | Edit.LineOpenBelow |
Line start | Home | Edit.LineStart |
Line start extend | Shift+Home | Edit.LineStartExtend |
Line start extend column | Shift+Alt+Home | Edit.LineStartExtendColumn |
Line transpose | Shift+Alt+T | Edit.LineTranspose |
Line up | Up Arrow | Edit.LineUp |
Line up extend | Shift+Up Arrow | Edit.LineUpExtend |
Line up extend column | Shift+Alt+Up Arrow | Edit.LineUpExtendColumn |
List members | Ctrl+J | Edit.ListMembers |
Make lowercase | Ctrl+U | Edit.MakeLowercase |
Make uppercase | Ctrl+Shift+U | Edit.MakeUppercase |
Move selected lines down | Alt+Down Arrow | Edit.MoveSelectedLinesDown |
Move selected lines up | Alt+Up Arrow | Edit.MoveSelectedLinesUp |
Next highlighted reference | Ctrl+Shift+Down Arrow | Edit.NextHighlightedReference |
Overtype mode | Insert | Edit.OvertypeMode |
Page down | PgDn | Edit.PageDown |
Page down extend | Shift+PgDn | Edit.PageDownExtend |
Page up | PgUp | Edit.PageUp |
Page up extend | Shift+PgUp | Edit.PageUpExtend |
Parameter info | Ctrl+Shift+Spacebar | Edit.ParameterInfo |
Paste parameter tip | Ctrl+Shift+Alt+P | Edit.PasteParameterTip |
Peek backward | Ctrl+Alt+- | Edit.PeekBackward |
Peek definition | Alt+F12 | Edit.PeekDefinition |
Peek forward | Ctrl+Alt+= | Edit.PeekForward |
Previous highlighted reference | Ctrl+Shift+Up Arrow | Edit.PreviousHighlightedReference |
Quick info | Ctrl+K, Ctrl+I | Edit.QuickInfo |
Reverse incremental search | Ctrl+Shift+I | Edit.ReverseIncrementalSearch |
Scroll line down | Ctrl+Down Arrow | Edit.ScrollLineDown |
Scroll line up | Ctrl+Up Arrow | Edit.ScrollLineUp |
Select current word | Ctrl+W | Edit.SelectCurrentWord |
Selection cancel | Escape | Edit.SelectionCancel |
Select to last go back | Ctrl+= | Edit.SelectToLastGoBack |
Show code lens menu | Ctrl+K, Ctrl+` | Edit.ShowCodeLensMenu |
Show navigate menu | Alt+` | Edit.ShowNavigateMenu |
Stop hiding current | Ctrl+M, Ctrl+U | Edit.StopHidingCurrent |
Stop outlining | Ctrl+M, Ctrl+P | Edit.StopOutlining |
Swap anchor | Ctrl+K, Ctrl+A | Edit.SwapAnchor |
Tab left | Shift+Tab | Edit.TabLeft |
Toggle all outlining | Ctrl+M, Ctrl+L | Edit.ToggleAllOutlining |
Toggle bookmark | Ctrl+K, Ctrl+K | Edit.ToggleBookmark |
Toggle completion mode | Ctrl+Alt+Space | Edit.ToggleCompletionMode |
Toggle outlining expansion | Ctrl+M, Ctrl+M | Edit.ToggleOutliningExpansion |
Toggle task list shortcut | Ctrl+K, Ctrl+H | Edit.ToggleTaskListShortcut |
Toggle word wrap | Ctrl+E, Ctrl+W | Edit.ToggleWordWrap |
Uncomment selection | Ctrl+K, Ctrl+U | Edit.UncommentSelection |
View bottom | Ctrl+PgDn | Edit.ViewBottom |
View bottom extend | Ctrl+Shift+PgDn | Edit.ViewBottomExtend |
View top | Ctrl+PgUp | Edit.ViewTop |
View top extend | Ctrl+Shift+PgUp | Edit.ViewTopExtend |
View white space | Ctrl+R, Ctrl+W | Edit.ViewWhiteSpace |
Word delete to end | Ctrl+Delete | Edit.WordDeleteToEnd |
Word delete to start | Ctrl+Backspace | Edit.WordDeleteToStart |
Word next | Ctrl+Right Arrow | Edit.WordNext |
Word next extend | Ctrl+Shift+Right Arrow | Edit.WordNextExtend |
Word next extend column | Ctrl+Shift+Alt+Right Arrow | Edit.WordNextExtendColumn |
Word previous | Ctrl+Left Arrow | Edit.WordPrevious |
Word previous extend | Ctrl+Shift+Left Arrow | Edit.WordPreviousExtend |
Word previous extend column | Ctrl+Shift+Alt+Left Arrow | Edit.WordPreviousExtendColumn |
Word transpose | Ctrl+Shift+T | Edit.WordTranspose |
Execute in interactive | Alt+Enter | EditorContextMenus.CodeWindow.ExecuteInInteractive |
Execute line in interactive | Alt+' | EditorContextMenus.CodeWindow.ExecuteLineInInteractive |
View in page inspector | Ctrl+K, Ctrl+G | OtherContextMenus.HTMLContext.ViewinPageInspector |
TFS annotate move next region | Alt+PgDn | TeamFoundationContextMenus.Annotate.TfsAnnotateMoveNextRegion |
TFS annotate move previous region | Alt+PgUp | TeamFoundationContextMenus.Annotate.TfsAnnotateMovePreviousRegion |
UML activity diagram
The shortcuts specific to this context are:
Command | Keyboard shortcut | Command ID |
---|---|---|
Delete | Shift+Del | Edit.Delete |
UML class diagram
The shortcuts specific to this context are:
Command | Keyboard shortcut | Command ID |
---|---|---|
Delete from model | Shift+Del | Edit.DeleteFromModel |
UML component diagram
The shortcuts specific to this context are:
Command | Keyboard shortcut | Command ID |
---|---|---|
Delete from model | Shift+Del | Edit.DeleteFromModel |
UML use case diagram
The shortcuts specific to this context are:
Command | Keyboard shortcut | Command ID |
---|---|---|
Delete from model | Shift+Del | Edit.DeleteFromModel |
VC Accelerator Editor
The shortcuts specific to this context are:
Commands | Keyboard shortcuts | Command ID |
---|---|---|
New accelerator | Insert | Edit.NewAccelerator |
Next key typed | Ctrl+W | Edit.NextKeyTyped |
VC Dialog Editor
The shortcuts specific to this context are:
Commands | Keyboard shortcuts | Command ID |
---|---|---|
Move control down | Down Arrow | Edit.MoveControlDown |
Move control left | Left Arrow | Edit.MoveControlLeft |
Move control right | Right Arrow | Edit.MoveControlRight |
Move control up | Up Arrow | Edit.MoveControlUp |
Scroll column left | Ctrl+Left Arrow | Edit.ScrollColumnLeft |
Scroll column right | Ctrl+Right Arrow | Edit.ScrollColumnRight |
Scroll line down | Ctrl+Down Arrow | Edit.ScrollLineDown |
Scroll line up | Ctrl+Up Arrow | Edit.ScrollLineUp |
Size control down | Shift+Down Arrow | Edit.SizeControlDown |
Size control left | Shift+Left Arrow | Edit.SizeControlLeft |
Size control right | Shift+Right Arrow | Edit.SizeControlRight |
Size control up | Shift+Up Arrow | Edit.SizeControlUp |
Align bottoms | Ctrl+Shift+Down Arrow | Format.AlignBottoms |
Align centers | Shift+F9 | Format.AlignCenters |
Align lefts | Ctrl+Shift+Left Arrow | Format.AlignLefts |
Align middles | F9 | Format.AlignMiddles |
Align rights | Ctrl+Shift+Right Arrow | Format.AlignRights |
Align tops | Ctrl+Shift+Up Arrow | Format.AlignTops |
Button bottom | Ctrl+B | Format.ButtonBottom |
Button right | Ctrl+R | Format.ButtonRight |
Center horizontal | Ctrl+Shift+F9 | Format.CenterHorizontal |
Center vertical | Ctrl+F9 | Format.CenterVertical |
Check mnemonics | Ctrl+M | Format.CheckMnemonics |
Size to content | Shift+F7 | Format.SizetoContent |
Space across | Alt+Right Arrow or Alt+Left Arrow | Format.SpaceAcross |
Space down | Alt+Up Arrow or Alt+Down Arrow | Format.SpaceDown |
Tab order | Ctrl+D | Format.TabOrder |
Test dialog | Ctrl+T | Format.TestDialog |
Toggle guides | Ctrl+G | Format.ToggleGuides |
VC Image Editor
The shortcuts specific to this context are:
Commands | Keyboard shortcuts | Command ID |
---|---|---|
Airbrush tool | Ctrl+A | Image.AirbrushTool |
Brush tool | Ctrl+B | Image.BrushTool |
Copy and outline selection | Ctrl+Shift+U | Image.CopyandOutlineSelection |
Draw opaque | Ctrl+J | Image.DrawOpaque |
Ellipse tool | Alt+P | Image.EllipseTool |
Erase tool | Ctrl+Shift+I | Image.EraseTool |
Filled ellipse tool | Ctrl+Shift+Alt+P | Image.FilledEllipseTool |
Filled rectangle tool | Ctrl+Shift+Alt+R | Image.FilledRectangleTool |
Filled rounded rectangle tool | Ctrl+Shift+Alt+W | Image.FilledRoundedRectangleTool |
Fill tool | Ctrl+F | Image.FillTool |
Flip horizontal | Ctrl+H | Image.FlipHorizontal |
Flip vertical | Shift+Alt+H | Image.FlipVertical |
Larger brush | Ctrl+= | Image.LargerBrush |
Line tool | Ctrl+L | Image.LineTool |
Magnification tool | Ctrl+M | Image.MagnificationTool |
Magnify | Ctrl+Shift+M | Image.Magnify |
New image type | Insert | Image.NewImageType |
Next color | Ctrl+] or Ctrl+Right Arrow | Image.NextColor |
Next right color | Ctrl+Shift+] or Ctrl+Shift+Right Arrow | Image.NextRightColor |
Outlined ellipse tool | Shift+Alt+P | Image.OutlinedEllipseTool |
Outlined rectangle tool | Shift+Alt+R | Image.OutlinedRectangleTool |
Outlined rounded rectangle tool | Shift+Alt+W | Image.OutlinedRoundedRectangleTool |
Pencil tool | Ctrl+I | Image.PencilTool |
Previous color | Ctrl+[ or Ctrl+Left Arrow | Image.PreviousColor |
Previous right color | Ctrl+Shift+[ or Ctrl+Shift+Left Arrow | Image.PreviousRightColor |
Rectangle selection tool | Shift+Alt+S | Image.RectangleSelectionTool |
Rectangle tool | Alt+R | Image.RectangleTool |
Rotate 90 degrees | Ctrl+Shift+H | Image.Rotate90Degrees |
Rounded rectangle tool | Alt+W | Image.RoundedRectangleTool |
Show grid | Ctrl+Alt+S | Image.ShowGrid |
Show tile grid | Ctrl+Shift+Alt+S | Image.ShowTileGrid |
Small brush | Ctrl+. | Image.SmallBrush |
Smaller brush | Ctrl+- | Image.SmallerBrush |
Text tool | Ctrl+T | Image.TextTool |
Use selection as brush | Ctrl+U | Image.UseSelectionasBrush |
Zoom in | Ctrl+Shift+. or Ctrl+Up Arrow | Image.ZoomIn |
Zoom out | Ctrl+Shift+, or Ctrl+Down Arrow | Image.ZoomOut |
VC String Editor
The shortcuts specific to this context are:
Command | Keyboard shortcut | Command ID |
---|---|---|
New string | Insert | Edit.NewString |
View Designer
The shortcuts specific to this context are:
Commands | Keyboard shortcuts | Command ID |
---|---|---|
Cancel retrieving data | Ctrl+T | QueryDesigner.CancelRetrievingData |
Criteria | Ctrl+2 | QueryDesigner.Criteria |
Diagram | Ctrl+1 | QueryDesigner.Diagram |
Execute SQL | Ctrl+R | QueryDesigner.ExecuteSQL |
Goto row | Ctrl+G | QueryDesigner.GotoRow |
Join mode | Ctrl+Shift+J | QueryDesigner.JoinMode |
Results | Ctrl+4 | QueryDesigner.Results |
Sql | Ctrl+3 | QueryDesigner.SQL |
Visual Studio
The shortcuts specific to this context are:
Command | Keyboard shortcut | Command ID |
---|---|---|
Hide methods pane | Ctrl+1 | OtherContextMenus.ORDesignerContext.HideMethodsPane |
Windows Forms Designer
The shortcuts specific to this context are:
Commands | Keyboard shortcuts | Command ID |
---|---|---|
Break line | Enter | Edit.BreakLine |
Char left | Left Arrow | Edit.CharLeft |
Char left extend | Shift+Left Arrow | Edit.CharLeftExtend |
Char right | Right Arrow | Edit.CharRight |
Char right extend | Shift+Right Arrow | Edit.CharRightExtend |
Document end | End | Edit.DocumentEnd |
Document end extend | Shift+End | Edit.DocumentEndExtend |
Document start | Home | Edit.DocumentStart |
Document start extend | Shift+Home | Edit.DocumentStartExtend |
Insert tab | Tab | Edit.InsertTab |
Line down | Down Arrow | Edit.LineDown |
Line down extend | Shift+Up Arrow | Edit.LineDownExtend |
Line up | Up Arrow | Edit.LineUp |
Line up extend | Shift+Down Arrow | Edit.LineUpExtend |
Move control down | Ctrl+Down Arrow | Edit.MoveControlDown |
Move control left | Ctrl+Left Arrow | Edit.MoveControlLeft |
Move control right | Ctrl+Right Arrow | Edit.MoveControlRight |
Move control up | Ctrl+Up Arrow | Edit.MoveControlUp |
Selection cancel | Escape | Edit.SelectionCancel |
Size control down | Ctrl+Shift+Down Arrow | Edit.SizeControlDown |
Size control left | Ctrl+Shift+Left Arrow | Edit.SizeControlLeft |
Size control right | Ctrl+Shift+Right Arrow | Edit.SizeControlRight |
Size control up | Ctrl+Shift+Up Arrow | Edit.SizeControlUp |
Tab left | Shift+Tab | Edit.TabLeft |
Work Item Editor
The shortcuts specific to this context are:
Commands | Keyboard shortcuts | Command ID |
---|---|---|
Create copy of work item | Shift+Alt+C | Edit.CreateCopyofWorkItem |
Refresh work item | F5 | Edit.RefreshWorkItem |
New linked work item | Shift+Alt+L | Team.NewLinkedWorkItem |
Work Item Query View
The shortcuts specific to this context are:
Commands | Keyboard shortcuts | Command ID |
---|---|---|
Create copy of work item | Shift+Alt+C | Edit.CreateCopyofWorkItem |
Indent | Shift+Alt+Right Arrow | Edit.Indent |
Outdent | Shift+Alt+Left Arrow | Edit.Outdent |
New linked work item | Shift+Alt+L | Team.NewLinkedWorkItem |
Refresh | F5 | Team.Refresh |
Toggle | Shift+Alt+V | Window.Toggle |
Work Item Results View
The shortcuts specific to this context are:
Commands | Keyboard shortcuts | Command ID |
---|---|---|
Create copy of work item | Shift+Alt+C | Edit.CreateCopyofWorkItem |
Indent | Shift+Alt+Right Arrow | Edit.Indent |
Outdent | Shift+Alt+Left Arrow | Edit.Outdent |
Goto next work item | Shift+Alt+N | Team.GotoNextWorkItem |
Goto previous work item | Shift+Alt+P | Team.GotoPreviousWorkItem |
New linked work item | Shift+Alt+L | Team.NewLinkedWorkItem |
Refresh | F5 | Team.Refresh |
Toggle | Shift+Alt+V | Window.Toggle |
Workflow Designer
The shortcuts specific to this context are:
Commands | Keyboard shortcuts | Command ID |
---|---|---|
Complete word | Ctrl+K, W or Ctrl+K, Ctrl+W or Ctrl+Spacebar or Alt+Right Arrow | Edit.CompleteWord |
Decrease filter level | Alt+, | Edit.DecreaseFilterLevel |
Increase filter level | Alt+. | Edit.IncreaseFilterLevel |
List members | Ctrl+K, L or Ctrl+K, Ctrl+L or Ctrl+J | Edit.ListMembers |
Parameter info | Ctrl+K, P or Ctrl+K, Ctrl+P or Ctrl+Shift+Spacebar | Edit.ParameterInfo |
Quick info | Ctrl+K, I or Ctrl+K, Ctrl+I | Edit.QuickInfo |
Collapse | Ctrl+E, Ctrl+C or Ctrl+E, C | WorkflowDesigner.Collapse |
Collapse all | or | WorkflowDesigner.CollapseAll |
Connect nodes | Ctrl+E, Ctrl+F or Ctrl+E, F | WorkflowDesigner.ConnectNodes |
Create variable | Ctrl+E, Ctrl+N or Ctrl+E, N | WorkflowDesigner.CreateVariable |
Expand all | Ctrl+E, Ctrl+X or Ctrl+E, X | WorkflowDesigner.ExpandAll |
Expand in place | Ctrl+E, Ctrl+E or Ctrl+E, E | WorkflowDesigner.ExpandInPlace |
Go to parent | Ctrl+E, Ctrl+P or Ctrl+E, P | WorkflowDesigner.GoToParent |
Move focus | Ctrl+E, Ctrl+M or Ctrl+E, M | WorkflowDesigner.MoveFocus |
Navigate through designer | Ctrl+Alt+F6 | WorkflowDesigner.NavigateThroughDesigner |
Restore | Ctrl+E, Ctrl+R or Ctrl+E, R | WorkflowDesigner.Restore |
Show hide argument designer | Ctrl+E, Ctrl+A or Ctrl+E, A | WorkflowDesigner.ShowHideArgumentDesigner |
Show hide imports designer | Ctrl+E, Ctrl+I or Ctrl+E, I | WorkflowDesigner.ShowHideImportsDesigner |
Show hide overview map | Ctrl+E, Ctrl+O (letter 'O') or Ctrl+E, O | WorkflowDesigner.ShowHideOverviewMap |
Show hide variable designer | Ctrl+E, Ctrl+V or Ctrl+E, V | WorkflowDesigner.ShowHideVariableDesigner |
Toggle selection | Ctrl+E, Ctrl+S or Ctrl+E, S | WorkflowDesigner.ToggleSelection |
Zoom in | Ctrl+Num + | WorkflowDesigner.ZoomIn |
Zoom out | Ctrl+Num - | WorkflowDesigner.ZoomOut |
XAML UI Designer
The shortcuts specific to this context are:
Commands | Keyboard shortcuts | Command ID |
---|---|---|
Fit all | Ctrl+0 (zero) | Design.FitAll |
Show handles | F9 | Design.ShowHandles |
Zoom in | Ctrl+Alt+= | Design.ZoomIn |
Zoom out | Ctrl+Alt+- | Design.ZoomOut |
Designer options | Ctrl+Shift+; | |
Edit text | F2 | Format.EditText |
All | Ctrl+Shift+R | Format.ResetLayout.All |
Run project code | Ctrl+F9 | |
Hide (Blend only) | Ctrl+H | Timeline.Hide (Blend only) |
Lock (Blend only) | Ctrl+L | Timeline.Lock (Blend only) |
Show (Blend only) | Ctrl+Shift+H | Timeline.Show (Blend only) |
Unlock (Blend only) | Ctrl+Shift+L | Timeline.Unlock (Blend only) |
Edge left move left | Ctrl+Shift+, | View.EdgeLeftMoveLeft |
Edge left move right | Ctrl+Shift+. | View.EdgeLeftMoveRight |
Edge right move left | Ctrl+Shift+Alt+, | View.EdgeRightMoveLeft |
Edge right move right | Ctrl+Shift+Alt+. | View.EdgeRightMoveRight |
Show property marker menu | Ctrl+Spacebar | View.ShowPropertyMarkerMenu |
XML (Text) Editor
The shortcuts specific to this context are:
Commands | Keyboard shortcuts | Command ID |
---|---|---|
Start XSLT debugging | Alt+F5 | XML.StartXSLTDebugging |
Start XSLT without debugging | Ctrl+Alt+F5 | XML.StartXSLTWithoutDebugging |
XML Schema Designer
The shortcuts specific to this context are:
Commands | Keyboard shortcuts | Command ID |
---|---|---|
Bottom to top | Alt+Up Arrow | GraphView.BottomtoTop |
Left to right | Alt+Right Arrow | GraphView.LefttoRight |
Right to left | Alt+Left Arrow | GraphView.RighttoLeft |
Top to bottom | Alt+Down Arrow | GraphView.ToptoBottom |
Remove from workspace | Delete | OtherContextMenus.GraphView.RemovefromWorkspace |
Show content model view | Ctrl+2 | XsdDesigner.ShowContentModelView |
Show graph view | Ctrl+3 | XsdDesigner.ShowGraphView |
Show start view | Ctrl+1 | XsdDesigner.ShowStartView |
///
General Shortcuts
SHORTCUT | DESCRIPTION |
---|---|
Ctrl-X or Shift-Delete | Cuts the currently selected item to the clipboard. Without selection it cuts the entire line to the clipboard. |
Ctrl-C or Ctrl-Insert | Copies the currently selected item to the clipboard. Without selection it copies the entire line to the clipboard. |
Ctrl-V or Shift-Insert | Pastes 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-Backspace | Undo previous editing action |
Ctrl-Y or Ctrl-Shift-Z | Redo the previous undo action |
Ctrl-Shift-V or Ctrl-Shift-Insert | Pastes 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+F10 | Opens smart tag and resolves a wide array of suggested code refactorings |
Esc | Closes a menu or dialog, cancels an operation in progress, or places focus in the current document window |
Ctrl-S | Saves the selected files in the current project (usually the file that is being edited) |
Ctrl-Shift-S | Saves all documents and projects |
Ctrl-P | Displays the Print dialog |
F7 | Switches from the design view to the code view in the editor |
Shift-F7 | Switches from the code view to the design view in the editor |
F8 | Moves the cursor to the next item, for example in the TaskList window or Find Results window |
Shift-F8 | Moves the cursor to the previous item, for example in the TaskList window or Find Results window |
Shift-F12 | Finds a reference to the selected item or the item under the cursor |
Ctrl-Shift-G | Opens 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-F12 | Moves to the next task in the TaskList window |
Ctrl-Shift-8 | Moves backward in the browse history. Available in the object browser or Class View window |
Alt-Left Arrow | Go back in the web browser history |
Alt-Right Arrow | Go forward in the web browser history |
Text Navigation
SHORTCUT | DESCRIPTION |
---|---|
Left Arrow | Moves the cursor one character to the left |
Right Arrow | Moves the cursor one character to the right |
Down Arrow | Moves the cursor down one line |
Up Arrow | Moves the cursor up one line |
Page Down | Scrolls down one screen in the editor window |
Page Up | Scrolls up one screen in the editor window |
End | Moves the cursor to the end of the current line |
Home | Moves 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-End | Moves the cursor to the end of the document |
Ctrl-Home | Moves the cursor to the start of the document |
Ctrl-G | Displays 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-N | Moves to the next bookmark in the document |
Ctrl-K, Ctrl-P | Moves to the previous bookmark |
Ctrl-K, Ctrl-I | Displays Quick Info, based on the current language |
Ctrl-Down Arrow | Scrolls 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 Arrow | Scrolls text up one line but does not move the cursor. Available only in text editors |
Ctrl-Right Arrow | Moves the cursor one word to the right |
Ctrl-Left Arrow | Moves the cursor one word to the left |
Ctrl-Shift-1 | Navigates 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-2 | Navigates to the previous definition, declaration, or reference of an item |
Text Manipulation
SHORTCUT | DESCRIPTION |
---|---|
Enter | Inserts a new line |
Delete | Deletes one character to the right of the cursor |
Insert | Toggles between insert and overtype insertion modes |
Tab | Indents the currently selected line or lines by one tab stop. If there is no selection, this inserts a tab stop |
Shift-Tab | Moves current line or selected lines one tab stop to the left |
Backspace or Shift-Backspace | Deletes one character to the left of the cursor |
Ctrl-K, Ctrl-C | Marks the current line or selected lines of code as a comment, using the correct comment syntax for the programming language |
Ctrl-K, Ctrl-U | Removes the comment syntax from the current line or currently selected lines of code |
Ctrl-T or Shift-Enter | Swaps the characters on either side of the cursor. (For example, AC|BD becomes AB|CD.) Available only in text editors |
Ctrl-K, Ctrl-L | Removes all unnamed bookmarks in the current document |
Ctrl-M, Ctrl-O | Automatically 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-Spacebar | Displays 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-F | Applies 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-L | Cuts all selected lines or the current line if nothing has been selected to the clipboard |
Ctrl-Shift-L | Deletes all selected lines or the current line if no selection has been made |
Ctrl-Enter | Inserts a blank line above the cursor |
Ctrl-Shift-Enter | Inserts a blank line below the cursor |
Shift-Alt-T | Moves the line containing the cursor below the next line |
Ctrl-J | Lists members for statement completion when editing code |
Ctrl-U | Changes the selected text to lowercase characters |
Ctrl-Shift-U | Changes the selected text to uppercase characters |
Ctrl-Shift-Spacebar | Displays a tooltip that contains information for the current parameter, based on the current language |
Ctrl-M, Ctrl-U | Removes the outlining information for the currently selected region |
Ctrl-M, Ctrl-P | Removes all outlining information from the entire document |
Ctrl-R, Ctrl-P | Swaps the anchor and endpoint of the current selection |
Ctrl-M, Ctrl-L | Toggles all previously marked hidden text sections between hidden and display states |
Ctrl-K, Ctrl-K | Sets or removes a bookmark at the current line |
Ctrl-M, Ctrl-M | Toggles 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-H | Sets or removes a shortcut in the tasklist to the current line |
Ctrl-R, Ctrl-R | Enables or disables word wrap in an editor |
Ctrl-R, Ctrl-W | Shows or hides spaces and tab marks |
Ctrl-Delete | Deletes the word to the right of the cursor |
Ctrl-Backspace | Deletes the word to the left of the cursor |
Ctrl-Shift-T | Transposes 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
SHORTCUT | DESCRIPTION |
---|---|
Shift-Left Arrow | Moves the cursor to the left one character, extending the selection |
Shift-Alt-Left Arrow | Moves the cursor to the left one character, extending the column selection |
Shift-Right Arrow | Moves the cursor to the right one character, extending the selection |
Shift-Alt-Right Arrow | Moves the cursor to the right one character, extending the column selection |
Ctrl-Shift-End | Moves the cursor to the end of the document, extending the selection |
Ctrl-Shift-Home | Moves 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 Arrow | Moves the cursor down one line, extending the selection |
Shift-Alt-Down Arrow | Moves the cursor down one line, extending the column selection |
Shift-End | Moves the cursor to the end of the current line, extending the selection |
Shift-Alt-End | Moves the cursor to the end of the line, extending the column selection |
Shift-Home | Moves the cursor to the start of the line, extending the selection |
Shift-Alt-Home | Moves the cursor to the start of the line, extending the column selection |
Shift-Up Arrow | Moves the cursor up one line, extending the selection |
Shift-Alt-Up Arrow | Moves the cursor up one line, extending the column selection |
Shift-Page Down | Extends selection down one page |
Shift-Page Up | Extends selection up one page |
Ctrl-A | Selects everything in the current document |
Ctrl-W | Selects 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 Down | Moves the cursor to the last line in view, extending the selection |
Ctrl-Shift-Page Up | Moves the cursor to the top of the current window, extending the selection |
Ctrl-Shift-Alt-Right Arrow | Moves the cursor to the right one word, extending the column selection |
Ctrl-Shift-Left Arrow | Moves the cursor one word to the left, extending the selection |
Ctrl-Shift-Alt-Left Arrow | Moves the cursor to the left one word, extending the column selection |
Project Related
SHORTCUT | DESCRIPTION |
---|---|
Ctrl-Shift-B | Builds the solution |
Ctrl-N | Displays 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-N | Displays the New Project dialog |
Ctrl-O | Displays the Open File dialog |
Ctrl-Shift-O | Displays the Open Project dialog |
Shift-Alt-A | Displays the Add Existing Item dialog |
Ctrl-Shift-A | Displays the Add New Item dialog |
Ctrl-Alt-Insert | Allows you to override base class methods in a derived class when an overridable method is highlighted in the Class View pane |
Window Manipulation
SHORTCUT | DESCRIPTION |
---|---|
Shift-Alt-Enter | Toggles 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-F4 | Closes the current MDI child window |
Shift-Esc | Closes the current tool window |
Ctrl-F2 | Moves the cursor to the navigation bar at the top of a code view |
Ctrl-Tab | Cycles through the MDI child windows one window at a time |
Ctrl-F6,Ctrl-Shift-Tab | Moves to the previous MDI child window |
Alt-F6,Ctrl-Shift-F6 | Moves to the next tool window |
Shift-Alt-F6 | Moves to the previously selected window |
F6 | Moves to the next pane of a split pane view of a single document |
Shift-F6 | Moves to the previous pane of a document in split pane view |
Ctrl-Pagedown | Moves 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-PageUp | Moves to the previous tab in the document or window |
Control Editor (designer)
SHORTCUT | DESCRIPTION |
---|---|
Ctrl-Down Arrow | Moves the selected control down in increments of one on the design surface |
Down Arrow | Moves the selected control down to the next grid position on the design surface |
Ctrl-Left Arrow | Moves the control to the left in increments of one on the design surface |
Left Arrow | Moves the control to the left to the next grid position on the design surface |
Ctrl-Right Arrow | Moves the control to the right in increments of one on the design surface |
Right Arrow | Moves the control to the right into the next grid position on the design surface |
Ctrl-Up Arrow | Moves the control up in increments of one on the design surface |
Up Arrow | Moves the control up into the next grid position on the design surface |
Tab | Moves to the next control in the tab order |
Shift-Tab | Moves to the previous control in the tab order |
Ctrl-Shift-Down Arrow | Increases the height of the control in increments of one on the design surface |
Shift-Down Arrow | Increases the height of the control to the next grid position on the design surface |
Ctrl-Shift-Left Arrow | Reduces the width of the control in increments of one on the design surface |
Shift-Left Arrow | Reduces the width of the control to the next grid position on the design surface |
Ctrl-Shift-Right Arrow | Increases the width of the control in increments of one on the design surface |
Shift-Left Arrow | Increases the width of the control to the next grid position on the design surface |
Ctrl-Shift-Up Arrow | Decreases the height of the control in increments of one on the design surface |
Shift-Up Arrow | Decreases the height of the control to the next grid position on the design surface |
Search and Replace
SHORTCUT | DESCRIPTION |
---|---|
Ctrl-F | Displays the Find dialog |
Ctrl-Shift-F | Displays the Find in Files dialog |
F3 | Finds the next occurrence of the previous search text |
Ctrl-F3 | Finds the next occurrence of the currently selected text or the word under the cursor if there is no selection |
Shift-F3 | Finds the previous occurrence of the search text |
Ctrl-Shift-F3 | Finds the previous occurrence of the currently selected text or the word under the cursor |
Ctrl-D | Places the cursor in the Find/Command line on the Standard toolbar |
Alt-F3, H | Selects or clears the Search Hidden Text option for the Find dialog |
Ctrl-I | Starts 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, C | Selects or clears the Match Case option for Find and Replace operations |
Alt-F3, R | Selects or clears the Regular Expression option so that special characters can be used in Find and Replace operations |
Ctrl-H | Displays the Replace dialog |
Ctrl-Shift-H | Displays the Replace in Files dialog |
Ctrl-Shift-I | Performs an incremental search in reverse direction |
Alt-F3, S | Halts the current Find in Files operation |
Alt-F3, B | Selects or clears the Search Up option for Find and Replace operations |
Alt-F3, W | Selects or clears the Match Whole Word option for Find and Replace operations |
Alt-F3, P | Selects or clears the Wildcard option for Find and Replace operations |
Help
SHORTCUT | DESCRIPTION |
---|---|
Ctrl-Alt-F1 | Displays the Contents window for the documentation |
Ctrl-F1 | Displays 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 |
F1 | Displays 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-F2 | Displays the Help Index window |
Shift-Alt-F2 | Displays the Index Results window, which lists the topics that contain the keyword selected in the Index window |
Alt-Down Arrow | Displays the next topic in the table of contents. Available only in the Help browser window |
Alt-Up Arrow | Displays the previous topic in the table of contents. Available only in the Help browser window |
Ctrl-Alt-F3 | Displays the Search window, which allows you to search for words or phrases in the documentation |
Shift-Alt-F3 | Displays the Search Results window, which displays a list of topics that contain the string searched for from the Search window. |
Shift-F1 | Displays a topic from Help that corresponds to the user interface item that has the focus |
Debugging
SHORTCUT | DESCRIPTION |
---|---|
Ctrl-Alt-V, A | Displays 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-Break | Temporarily stops execution of all processes in a debugging session. Available only in run mode |
Ctrl-Alt-B | Displays the Breakpoints dialog, where you can add and modify breakpoints |
Ctrl-Alt-C | Displays 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-F9 | Clears all of the breakpoints in the project |
Ctrl-Alt-D | Displays the Disassembly window |
Ctrl-F9 | Enables or disables the breakpoint on the current line of code. The line must already have a breakpoint for this to work |
Ctrl-Alt-E | Displays the Exceptions dialog |
Ctrl-Alt-I | Displays the Immediate window, where you can evaluate expressions and execute individual commands |
Ctrl-Alt-V, L | Displays the Locals window to view the variables and their values for the currently selected procedure in the stack frame |
Ctrl-Alt-M, 1 | Displays 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, 2 | Displays the Memory 2 window |
Ctrl-Alt-M, 3 | Displays the Memory 3 window |
Ctrl-Alt-M, 4 | Displays the Memory 4 window |
Ctrl-Alt-U | Displays 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-B | Opens the New Breakpoint dialog |
Ctrl-Alt-Q | Displays 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-G | Displays the Registers window, which displays CPU register contents |
Ctrl-Shift-F5 | Terminates the current debugging session, rebuilds if necessary, and then starts a new debugging session. Available in break and run modes |
Ctrl-Alt-N | Displays 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-F10 | Starts 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-F10 | Sets the execution point to the line of code you choose |
Alt-NUM * | Highlights the next statement to be executed |
F5 | If 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-F5 | Runs 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 |
F11 | Executes code one statement at a time, tracing execution into function calls |
Shift-F11 | Executes the remaining lines of a function in which the current execution point lies |
F10 | Executes the next line of code but does not step into any function calls |
Shift-F5 | Available in break and run modes, this terminates the debugging session |
Ctrl-Alt-V, T | Displays the This window, which allows you to view the data members of the object associated with the current method |
Ctrl-Alt-H | Displays the Threads window to view all of the threads for the current process |
F9 | Sets or removes a breakpoint at the current line |
Ctrl-F11 | Displays the disassembly information for the current source file. Available only in break mode |
Ctrl-Alt-W, 1 | Displays the Watch 1 window to view the values of variables or watch expressions |
Ctrl-Alt-W, 2 | Displays the Watch 2 window |
Ctrl-Alt-W, 3 | Displays the Watch 3 window |
Ctrl-Alt-W, 4 | Displays the Watch 4 window |
Ctrl-Alt-P | Displays the Processes dialog, which allows you to attach or detach the debugger to one or more running processes |
Object Browser
SHORTCUT | DESCRIPTION |
---|---|
Alt-F12 | Displays the Find Symbol dialog |
Ctrl-F12 | Displays the declaration of the selected symbol in the code |
F12 | Displays the definition for the selected symbol in code |
Ctrl-Alt-F12 | Displays the Find Symbol Results window |
Ctrl-Alt-J | Displays 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
SHORTCUT | DESCRIPTION |
---|---|
Ctrl-Shift-M | Toggles the Command window into or out of a mode allowing text within the window to be selected |
Ctrl-Shift-C | Displays the Class View window |
Ctrl-Alt-A | Displays the Command window, which allows you to type commands that manipulate the IDE |
Ctrl-Alt-T | Displays the Document Outline window to view the flat or hierarchical outline of the current document |
Ctrl-Alt-F | Displays the Favorites window, which lists shortcuts to web pages |
Ctrl-Alt-O | Displays the Output window to view status messages at runtime |
F4 | Displays the Properties window, which lists the design-time properties and events for the currently selected item |
Shift-F4 | Displays the property pages for the item currently selected. (For example, use this to show a project's settings.) |
Ctrl-Shift-E | Displays the Resource View window |
Ctrl-Alt-S | Displays 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-R | Displays the web browser window, which allows you to view pages on the Internet |
Ctrl-Alt-L | Displays the Solution Explorer, which lists the projects and files in the current solution |
Ctrl-Alt-K | Displays the TaskList window, which displays tasks, comments, shortcuts, warnings, and error messages |
Ctrl-Alt-X | Displays the Toolbox, which contains controls and other items that can be dragged into editor and designer windows |
Html Editor (Design View)
SHORTCUT | DESCRIPTION |
---|---|
Ctrl-B | Toggles the selected text between bold and normal |
Ctrl-Shift-T | Decreases the selected paragraph by one indent unit |
Ctrl-T | Indents the selected paragraph by one indent unit |
Ctrl-I | Toggles the selected text between italic and normal |
Ctrl-Shift-K | Prevents an absolutely positioned element from being inadvertently moved. If the element is already locked, this unlocks it |
Ctrl-G | Toggles the grid |
Ctrl-Shift-G | Specifies 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-U | Toggles the selected text between underlined and normal |
Ctrl-Shift-L | Displays the Bookmark dialog |
Ctrl-J | Inserts <div></div> in the current HTML document |
Ctrl-L | When text is selected, displays the Hyperlink dialog |
Ctrl-Shift-W | Displays the Insert Image dialog |
Ctrl-Alt-Up Arrow | Adds one row above the current row in the table |
Ctrl-Alt-Down Arrow | Adds one row below the current row in the table |
Ctrl-Alt-Left Arrow | Adds one column to the left of the current column in the table |
Ctrl-Alt-Right Arrow | Adds one column to the right of the current column in the table |
Ctrl-Shift-Q | Toggles 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 Down | Switches from design view to HTML view and vice versa |
Ctrl-Q | Displays 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
SHORTCUT | DESCRIPTION |
---|---|
Alt-F8 | Displays the Macro Explorer window, which lists all available macros |
Alt-F11 | Launches the macros IDE |
Ctrl-Shift-R | Places the environment in macro record mode or completes recording if already in record mode |
Ctrl-Shift-P | Plays back a recorded macro |