Keyboard Shortcut For Commenting In Visual Studio Mac
- Products
Overview
Salesforce Apps
Build Faster, Smarter & Together
- Resources
Learn
Tools
By Topic
- Community
- Trailhead
Don't have an account?
Visual Studio is a PC application that you run on a virtual machine in Parallel Desktops. Some shortcuts that you are so used to in Windows might not work as expected, and this you have already discovered. Open Visual Studio Code and navigate to File>>Preferences>>Keyboard Shortcut Open Visual Studio Code Keyboard ShortCuts Click on edit keybindings. Json You will see two files Default bindings and keybindings.json side by side as shown below. Keyboard Shortcuts: Visual Studio (macOS) Keymap. Rider's top keyboard shortcuts. Open Solution or Project ⌘+⇧+O. Comment/uncomment with.
Signup for a Developer EditionBrowse by Topic
You need to sign in to do that
Don't have an account?
ShowAll Questionssorted byDate PostedShow
- All Questions
- Unanswered Questions
- Unsolved Questions
- Solved Questions
sorted by
- Date Posted
- Recent Activity
- Most Popular
You need to sign in to do that
Don't have an account?
- This Question
I have this below code.I can comment the code by standard way (' <!-- This is commented part --> ') which I can do with few clicks.
Is there a way using the keyboard shortcut to do so? MS Visual Studio has it. May be the Eclipse too, although not sure.
Please help, thanks!
- July 10, 2015
- ·
- ·
- 1
- ·
- 5
- Open CTRL+O
- Open Lightning Resources CTRL+SHIFT+A
- Open log CTRL+G
- Open raw log CTRL+SHIFT+G
- Download log CTRL+ALT+G
- Save the current view CTRL+S
- Save all CTRL+SHIFT+S
- Delete CTRL+DELETE
- Close CTRL+/
- Close all CTRL+ALT+/
- Open the Execute Anonymous window CTRL+E
- Execute anonymous Apex code when the Execute Anonymous window is open or the last executed code when the window is closed CTRL+ALT+E
- View log panels... CTRL+P
- Log panel SHIFT+ALT+G
- Show/Hide help for the shortcut key CTRL+SHIFT+?
- Find CTRL+F
- Find/replace CTRL+SHIFT+F
- Find/replace all CTRL+SHIFT+R
- Search in files CTRL+SHIFT+H
- Fix indentation SHIFT+TAB
- Open resource CTRL+SHIFT+O
- Clear log panel SHIFT+ALT+G
- Show Preview of the Visualforce page/component CTRL+J
- Navigate to the declaration of a selected object in the Source Code Editor CTRL+ALT+N
- Show/Hide the Command Line Console CTRL+SHIFT+L
- Navigate backward through the view history CTRL+,
- Navigate forward through the view history CTRL+.
- Navigate backward through the open views CTRL+PAGE UP
- Navigate forward through the open views CTRL+PAGE DOWN
- Toggle full screen editing of the current view, if available F11
- Exit full screen editing of the current view, if active ESC
- July 10, 2015
- ·
- 3
- ·
- 0
Hence had to post an idea at - https://success.salesforce.com/ideaView?id=08730000000DqmhAAC
- July 10, 2015
- ·
- 0
- ·
- 0
Hi sfdcviraj,
It's better to use sublime editor for more flexibility and write code in offline also without getting error.
- June 20, 2018
- ·
- 1
- ·
- 0
In Sublime, the shortkey is Ctrl + /
- June 23, 2018
- ·
- 0
- ·
- 0
we are able to create custom Shortcut as per your daily requirement.there are some explanation about this I hope it is useful for You
1)Creating a Custom Shortcut – The Logout of salesforce.com Hotkey
One of the simplest keyboard shortcuts is logging out of Salesforce. Let's set it up.
a)Defining the Keyboard Shortcut
a)First, go to the Keyboard Shortcuts setup page for your Console and via Setup-> Create-> Apps-> Your Console -> 'Customize keyboard shortcuts'-> Edit.
b)Now add a new shortcut. 'Click Add Keyboard Shortcut'
c)Fill out the shortcut details. Note that the name of the shortcut event is namespaced with 'custom shortcut'. This is good practice and avoids possible conflicts with existing or future events in the Console.
d)Now we save and move on to the next step.
Since we want the shortcut to be available at all times, the listener must also be available at all times in the Console.
Some Standard Shortcut Key is also in console check it on a link:
https://help.salesforce.com/articleView?id=console2_keyboard_shortcut_ref.htm&type=5
If you found this answer helpful then please mark it as best answer so it can help others.
Thanks
Akshay
- July 11, 2018
- ·
- 0
- ·
- 0
You need to sign in to do that.
You can access a variety of commands and windows in Visual Studio by choosing the appropriate keyboard shortcut. This page lists the default command shortcuts for the General profile, which you might have chosen when you installed Visual Studio. No matter which profile you chose, you can identify the shortcut for a command by opening the Options dialog box, expanding the Environment node, and then choosing Keyboard. You can also customize your shortcuts by assigning a different shortcut to any given command.
For a list of common keyboard shortcuts and other productivity information, see:
- Productivity tips.
For more information about accessibility in Visual Studio, see Accessibility tips and tricks and How to: Use the keyboard exclusively.
| 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 |
Global shortcuts
These keyboard shortcuts are global, which means that you can use them when any Visual Studio window has focus.
Analyze
| Commands | Keyboard shortcuts |
|---|---|
| Analyze.NavigateBackward | Shift+Alt+3 |
| Analyze.NavigateForward | Shift+Alt+4 |
Architecture
| Commands | Keyboard shortcuts |
|---|---|
| Architecture.NewDiagram | Ctrl+, Ctrl+N |
Build
| Commands | Keyboard shortcuts |
|---|---|
| Build.BuildSelection | Ctrl+B (Visual Studio 2019) |
| Build.BuildSolution | Ctrl+Shift+B |
| Build.Cancel | Ctrl+Break |
| Build.Compile | Ctrl+F7 |
| Build.RunCodeAnalysisonSolution | Alt+F11 |
Class View context menus

| Commands | Keyboard shortcuts |
|---|---|
| ClassViewContextMenus.ClassViewMultiselectProjectreferencesItems.Properties | Alt+Enter |
Debug
| Commands | Keyboard shortcuts |
|---|---|
| Debug.ApplyCodeChanges | Alt+F10 |
| Debug.Autos | Ctrl+Alt+V, A |
| Debug.BreakAll | Ctrl+Alt+Break |
| Debug.Breakpoints | Ctrl+Alt+B |
| Debug.CallStack | Ctrl+Alt+C |
| Debug.DeleteAllBreakpoints | Ctrl+Shift+F9 |
| Debug.DiagnosticsHub.Launch | Alt+F2 |
| Debug.Disassembly | Ctrl+Alt+D |
| Debug.DOMExplorer | Ctrl+Alt+V, D |
| Debug.EnableBreakpoint | Ctrl+F9 |
| Debug.Exceptions | Ctrl+Alt+E |
| Debug.FunctionBreakpoint | Ctrl+K, B (Visual Studio 2019) Ctrl+B (Visual Studio 2017) |
| Debug.GoToPreviousCallorIntelliTraceEvent | Ctrl+Shift+F11 |
| Debug.Graphics.StartDiagnostics | Alt+F5 |
| Debug.Immediate | Ctrl+Alt+I |
| Debug.IntelliTraceCalls | Ctrl+Alt+Y, T |
| Debug.IntelliTraceEvents | Ctrl+Alt+Y, F |
| Debug.JavaScriptConsole | Ctrl+Alt+V, C |
| Debug.Locals | Ctrl+Alt+V, L |
| Debug.LocationToolbar.ProcessCombo | Ctrl+5 |
| Debug.LocationToolbar.StackFrameCombo | Ctrl+7 |
| Debug.LocationToolbar.ThreadCombo | Ctrl+6 |
| Debug.LocationToolbar.ToggleCurrentThreadFlaggedState | Ctrl+8 |
| Debug.LocationToolbar.ToggleFlaggedThreads | Ctrl+9 |
| Debug.Memory1 | Ctrl+Alt+M, 1 |
| Debug.Memory2 | Ctrl+Alt+M, 2 |
| Debug.Memory3 | Ctrl+Alt+M, 3 |
| Debug.Memory4 | Ctrl+Alt+M, 4 |
| Debug.Modules | Ctrl+Alt+U |
| Debug.ParallelStacks | Ctrl+Shift+D, S |
| Debug.ParallelWatch1 | Ctrl+Shift+D, 1 |
| Debug.ParallelWatch2 | Ctrl+Shift+D, 2 |
| Debug.ParallelWatch3 | Ctrl+Shift+D, 3 |
| Debug.ParallelWatch4 | Ctrl+Shift+D, 4 |
| Debug.Processes | Ctrl+Alt+Z |
| Debug.QuickWatch | Shift+F9 or Ctrl+Alt+Q |
| Debug.RefreshWindowsapp | Ctrl+Shift+R |
| Debug.Registers | Ctrl+Alt+G |
| Debug.Restart | Ctrl+Shift+F5 |
| Debug.RunToCursor | Ctrl+F10 |
| Debug.SetNextStatement | Ctrl+Shift+F10 |
| Debug.ShowCallStackonCodeMap | Ctrl+Shift+` |
| Debug.ShowNextStatement | Alt+Num * |
| Debug.Start | F5 |
| Debug.StartWindowsPhoneApplicationAnalysis | Alt+F1 |
| Debug.StartWithoutDebugging | Ctrl+F5 |
| Debug.StepInto | F11 |
| Debug.StepIntoCurrentProcess | Ctrl+Alt+F11 |
| Debug.StepIntoSpecific | Shift+Alt+F11 |
| Debug.StepOut | Shift+F11 |
| Debug.StepOutCurrentProcess | Ctrl+Shift+Alt+F11 |
| Debug.StepOver | F10 (When debugging: Performs a step over action) |
| Debug.StepOver | F10 (When not debugging: Starts debugging and stops on the first line of user code) |
| Debug.StepOverCurrentProcess | Ctrl+Alt+F10 |
| Debug.StopDebugging | Shift+F5 |
| Debug.StopPerformanceAnalysis | Shift+Alt+F2 |
| Debug.Tasks | Ctrl+Shift+D, K |
| Debug.Threads | Ctrl+Alt+H |
| Debug.ToggleBreakpoint | F9 |
| Debug.ToggleDisassembly | Ctrl+F11 |
| Debug.Watch1 | Ctrl+Alt+W, 1 |
| Debug.Watch2 | Ctrl+Alt+W, 2 |
| Debug.Watch3 | Ctrl+Alt+W, 3 |
| Debug.Watch4 | Ctrl+Alt+W, 4 |
Debugger context menus
| Commands | Keyboard shortcuts |
|---|---|
| DebuggerContextMenus.BreakpointsWindow.Delete | Alt+F9, D |
| DebuggerContextMenus.BreakpointsWindow.GoToDisassembly | Alt+F9, A |
| DebuggerContextMenus.BreakpointsWindow.GoToSourceCode | Alt+F9, S |
Diagnostics Hub
| Command | Keyboard shortcut |
|---|---|
| DiagnosticsHub.StopCollection | Ctrl+Alt+F2 |
Edit
| Commands | Keyboard shortcuts |
|---|---|
| Edit.Copy | Ctrl+C or Ctrl+Ins |
| Edit.Cut | Ctrl+X or Shift+Delete |
| Edit.CycleClipboardRing | Ctrl+Shift+V or Ctrl+Shift+Ins |
| Edit.Delete | Delete |
| Edit.Duplicate | Ctrl+D |
| Edit.Find | Ctrl+F |
| Edit.FindAllReferences | Shift+F12 |
| Edit.FindinFiles | Ctrl+Shift+F |
| Edit.FindNext | F3 |
| Edit.FindNextSelected | Ctrl+F3 |
| Edit.FindPrevious | Shift+F3 |
| Edit.FindPreviousSelected | Ctrl+Shift+F3 |
| Edit.GenerateMethod | Ctrl+K, Ctrl+M |
| Edit.GoTo | Ctrl+G |
| Edit.GoToAll | Ctrl+, or Ctrl+T |
| Edit.GoToDeclaration | Ctrl+F12 |
| Edit.GoToDefinition | F12 |
| Edit.GoToMember | Ctrl+1, Ctrl+M or Ctrl+1, M or Alt+ |
| Edit.GoToNextLocation | F8 (Next error in Error List or Output window) |
| Edit.GoToPrevLocation | Shift+F8 (Previous error in Error List or Output window) |
| Edit.InsertSnippet | Ctrl+K, Ctrl+X |
| Edit.MoveControlDown | Ctrl+Down Arrow |
| Edit.MoveControlDownGrid | Down Arrow |
| Edit.MoveControlLeft | Ctrl+Left Arrow |
| Edit.MoveControlLeftGrid | Left Arrow |
| Edit.MoveControlRight | Ctrl+Right Arrow |
| Edit.MoveControlRightGrid | Right Arrow |
| Edit.MoveControlUp | Ctrl+Up Arrow |
| Edit.MoveControlUpGrid | Up Arrow |
| Edit.NextBookmark | Ctrl+K, Ctrl+N |
| Edit.NextBookmarkInFolder | Ctrl+Shift+K, Ctrl+Shift+N |
| Edit.OpenFile | Ctrl+Shift+G (Opens the file name under the cursor) |
| Edit.Paste | Ctrl+V or Shift+Ins |
| Edit.PreviousBookmark | Ctrl+K, Ctrl+P |
| Edit.PreviousBookmarkInFolder | Ctrl+Shift+K, Ctrl+Shift+P |
| Edit.QuickFindSymbol | Shift+Alt+F12 |
| Edit.Redo | Ctrl+Y or Ctrl+Shift+Z or Shift+Alt+Backspace |
| Edit.RefreshRemoteReferences | Ctrl+Shift+J |
| Edit.Replace | Ctrl+H |
| Edit.ReplaceinFiles | Ctrl+Shift+H |
| Edit.SelectAll | Ctrl+A |
| Edit.SelectNextControl | Tab |
| Edit.SelectPreviousControl | Shift+Tab |
| Edit.ShowTileGrid | Enter |
| Edit.SizeControlDown | Ctrl+Shift+Down Arrow |
| Edit.SizeControlDownGrid | Shift+Down Arrow |
| Edit.SizeControlLeft | Ctrl+Shift+Left Arrow |
| Edit.SizeControlLeftGrid | Shift+Left Arrow |
| Edit.SizeControlRight | Ctrl+Shift+Right Arrow |
| Edit.SizeControlRightGrid | Shift+Right Arrow |
| Edit.SizeControlUp | Ctrl+Shift+Up Arrow |
| Edit.SizeControlUpGrid | Shift+Up Arrow |
| Edit.StopSearch | Alt+F3, S |
| Edit.SurroundWith | Ctrl+K, Ctrl+S |
| Edit.Undo | Ctrl+Z or Alt+Backspace |
Editor context menus
| Commands | Keyboard shortcuts |
|---|---|
| EditorContextMenus.CodeWindow.Breakpoint.BreakpointEditlabels | Alt+F9, L |
| EditorContextMenus.CodeWindow.CodeMap.ShowItem | Ctrl+` |
| EditorContextMenus.CodeWindow.Execute | Ctrl+Alt+F5 |
| EditorContextMenus.CodeWindow.GoToView | Ctrl+M, Ctrl+G |
| EditorContextMenus.CodeWindow.ToggleHeaderCodeFile | Ctrl+K, Ctrl+O (letter 'O') |
| EditorContextMenus.CodeWindow.ViewCallHierarchy | Ctrl+K, Ctrl+T or Ctrl+K, T |
File
| Commands | Keyboard shortcuts |
|---|---|
| File.Exit | Alt+F4 |
| File.NewFile | Ctrl+N |
| File.NewProject | Ctrl+Shift+N |
| File.NewWebSite | Shift+Alt+N |
| File.OpenFile | Ctrl+O (letter 'O') |
| File.OpenProject | Ctrl+Shift+O (letter 'O') |
| File.OpenWebSite | Shift+Alt+O (letter 'O') |
| File.Print | Ctrl+P |
| File.SaveAll | Ctrl+Shift+S |
| File.SaveSelectedItems | Ctrl+S |
| File.ViewinBrowser | Ctrl+Shift+W |
Help
| Commands | Keyboard shortcuts |
|---|---|
| Help.AddandRemoveHelpContent | Ctrl+Alt+F1 |
| Help.F1Help | F1 |
| Help.ViewHelp | Ctrl+F1 |
| Help.WindowHelp | Shift+F1 |
Load test
| Command | Keyboard shortcut |
|---|---|
| LoadTest.JumpToCounterPane | Ctrl+R, Q |
Other context menus
| Command | Keyboard shortcut |
|---|---|
| OtherContextMenus.MicrosoftDataEntityDesignContext.AddNewDiagram | Insert |
Project
| Commands | Keyboard shortcuts |
|---|---|
| Project.AddExistingItem | Shift+Alt+A |
| Project.AddNewItem | Ctrl+Shift+A |
| Project.ClassWizard | Ctrl+Shift+X |
| Project.Override | Ctrl+Alt+Ins |
| Project.Previewchanges | Alt+; then Alt+C |
| Project.Publishselectedfiles | Alt+; then Alt+P |
| Project.Replaceselectedfilesfromserver | Alt+; then Alt+R |
Project and solution context menus
| Commands | Keyboard shortcuts |
|---|---|
| ProjectandSolutionContextMenus.Item.MoveDown | Alt+Down Arrow |
| ProjectandSolutionContextMenus.Item.MoveUp | Alt+Up Arrow |
Refactor
| Commands | Keyboard shortcuts |
|---|---|
| Refactor.EncapsulateField | Ctrl+R, Ctrl+E |
| Refactor.ExtractInterface | Ctrl+R, Ctrl+I |
| Refactor.ExtractMethod | Ctrl+R, Ctrl+M |
| Refactor.RemoveParameters | Ctrl+R, Ctrl+V |
| Refactor.Rename | Ctrl+R, Ctrl+R |
| Refactor.ReorderParameters | Ctrl+R, Ctrl+O (letter 'O') |
Solution Explorer
| Commands | Keyboard shortcuts |
|---|---|
| SolutionExplorer.OpenFilesFilter | Ctrl+[, O (letter 'O') or Ctrl+[, Ctrl+O (letter 'O') |
| SolutionExplorer.PendingChangesFilter | Ctrl+[, P or Ctrl+[, Ctrl+P |
| SolutionExplorer.SyncWithActiveDocument | Ctrl+[, S or Ctrl+[, Ctrl+S |
Team
| Commands | Keyboard shortcuts |
|---|---|
| Team.Git.GoToGitBranches | Ctrl+0 (zero), Ctrl+N or Ctrl+0, N |
| Team.Git.GoToGitChanges | Ctrl+0 (zero), Ctrl+G or Ctrl+0, G |
| Team.Git.GoToGitCommits | Ctrl+0 (zero), Ctrl+O (letter 'O') or Ctrl+0, O |
| Team.TeamExplorerSearch | Ctrl+' |
Team Foundation context menus
| Commands | Keyboard shortcuts |
|---|---|
| TeamFoundationContextMenus.Commands.GoToBuilds | Ctrl+0 (zero), Ctrl+B or Ctrl+0, B |
| TeamFoundationContextMenus.Commands.GoToConnect | Ctrl+0 (zero), Ctrl+C or Ctrl+0, C |
| TeamFoundationContextMenus.Commands.GoToDocuments | Ctrl+0 (zero), Ctrl+D or Ctrl+0, D |
| TeamFoundationContextMenus.Commands.GoToHome | Ctrl+0 (zero), Ctrl+H or Ctrl+0, H |
| TeamFoundationContextMenus.Commands.GoToMyWork | Ctrl+0 (zero), Ctrl+M or Ctrl+0, M |
| TeamFoundationContextMenus.Commands.GoToPendingChanges | Ctrl+0 (zero), Ctrl+P or Ctrl+0, P |
| TeamFoundationContextMenus.Commands.GoToReports | Ctrl+0 (zero), Ctrl+R or Ctrl+0, R |
| TeamFoundationContextMenus.Commands.GoToSettings | Ctrl+0 (zero), Ctrl+S or Ctrl+0, S |
| TeamFoundationContextMenus.Commands.GoToWebAccess | Ctrl+0 (zero), Ctrl+A or Ctrl+0, A |
| TeamFoundationContextMenus.Commands.GoToWorkItems | Ctrl+0 (zero), Ctrl+W or Ctrl+0, W |
Test
| Commands | Keyboard shortcuts |
|---|---|
| Test.UseCodedUITestBuilder | Ctrl+, Ctrl+C |
| Test.UseExistingActionRecording | Ctrl+, Ctrl+A |
Test Explorer
| Commands | Keyboard shortcuts |
|---|---|
| TestExplorer.DebugAllTests | Ctrl+R, Ctrl+A |
| TestExplorer.DebugAllTestsInContext | Ctrl+R, Ctrl+T |
| TestExplorer.DebugLastRun | Ctrl+R, D |
| TestExplorer.RepeatLastRun | Ctrl+R, L |
| TestExplorer.RunAllTests | Ctrl+R, A |
| TestExplorer.RunAllTestsInContext | Ctrl+R, T |
| TestExplorer.ShowTestExplorer | Ctrl+E, T |
| LiveUnitTesting.OpenTab | Ctrl+E, L |
| Test.CodeCoverageResults | Ctrl+E, C |
Tools
| Commands | Keyboard shortcuts |
|---|---|
| Tools.AttachtoProcess | Ctrl+Alt+P |
| Tools.CodeSnippetsManager | Ctrl+K, Ctrl+B |
| Tools.ForceGC | Ctrl+Shift+Alt+F12, Ctrl+Shift+Alt+F12 |
View
| Commands | Keyboard shortcuts |
|---|---|
| View.AllWindows | Shift+Alt+M |
| View.ArchitectureExplorer | Ctrl+, Ctrl+R |
| View.Backward | Alt+Left Arrow (Functions differently from View.NavigateBackward in Text Editor) |
| View.BookmarkWindow | Ctrl+K, Ctrl+W |
| View.BrowseNext | Ctrl+Shift+1 |
| View.BrowsePrevious | Ctrl+Shift+2 |
| View.CallHierarchy | Ctrl+Alt+K |
| View.ClassView | Ctrl+Shift+C |
| View.ClassViewGoToSearchCombo | Ctrl+K, Ctrl+V |
| View.CodeDefinitionWindow | Ctrl+, D or Ctrl+, Ctrl+D |
| View.CommandWindow | Ctrl+Alt+A |
| View.DataSources | Shift+Alt+D |
| View.DocumentOutline | Ctrl+Alt+T |
| View.EditLabel | F2 |
| View.ErrorList | Ctrl+, E or Ctrl+, Ctrl+E |
| View.F#Interactive | Ctrl+Alt+F |
| View.FindSymbolResults | Ctrl+Alt+F12 |
| View.Forward | Alt+Right Arrow (Functions differently from View.NavigateForward in Text Editor) |
| View.ForwardBrowseContext | Ctrl+Shift+7 |
| View.FullScreen | Shift+Alt+Enter |
| View.NavigateBackward | Ctrl+- |
| View.NavigateForward | Ctrl+Shift+- |
| View.NextError | Ctrl+Shift+F12 |
| View.Notifications | Ctrl+W, N or Ctrl+W, Ctrl+N |
| View.ObjectBrowser | Ctrl+Alt+J |
| View.ObjectBrowserGoToSearchCombo | Ctrl+K, Ctrl+R |
| View.Output | Ctrl+Alt+O (letter 'O') |
| View.PopBrowseContext | Ctrl+Shift+8 (C++ only) |
| View.PropertiesWindow | F4 |
| View.PropertyPages | Shift+F4 |
| View.ResourceView | Ctrl+Shift+E |
| View.ServerExplorer | Ctrl+Alt+S |
| View.ShowSmartTag | Shift+Alt+F10 or Ctrl+. |
| View.SolutionExplorer | Ctrl+Alt+L |
| View.SQLServerObjectExplorer | Ctrl+, Ctrl+S |
| View.TaskList | Ctrl+, T or Ctrl+, Ctrl+T |
| View.TfsTeamExplorer | Ctrl+, Ctrl+M |
| View.Toolbox | Ctrl+Alt+X |
| View.UMLModelExplorer | Ctrl+, Ctrl+U |
| View.ViewCode | F7 |
| View.ViewDesigner | Shift+F7 |
| View.WebBrowser | Ctrl+Alt+R |
| View.ZoomIn | Ctrl+Shift+. |
| View.ZoomOut | Ctrl+Shift+, |
| TestExplorer.ShowTestExplorer | Ctrl+E, T |
Window
| Commands | Keyboard shortcuts |
|---|---|
| Window.ActivateDocumentWindow | Esc |
| Window.AddTabtoSelection | Ctrl+Shift+Alt+Space |
| Window.CloseDocumentWindow | Ctrl+F4 |
| Window.CloseToolWindow | Shift+Esc |
| Window.KeepTabOpen | Ctrl+Alt+Home |
| Window.MovetoNavigationBar | Ctrl+F2 |
| Window.NextDocumentWindow | Ctrl+F6 |
| Window.NextDocumentWindowNav | Ctrl+Tab |
| Window.NextPane | Alt+F6 |
| Window.NextSplitPane | F6 |
| Window.NextTab | Ctrl+Alt+PgDn or Ctrl+PgDn |
| Window.NextTabandAddtoSelection | Ctrl+Shift+Alt+PgDn |
| Window.NextToolWindowNav | Alt+F7 |
| Window.PreviousDocumentWindow | Ctrl+Shift+F6 |
| Window.PreviousDocumentWindowNav | Ctrl+Shift+Tab |
| Window.PreviousPane | Shift+Alt+F6 |
| Window.PreviousSplitPane | Shift+F6 |
| Window.PreviousTab | Ctrl+Alt+PgUp or Ctrl+PgUp |
| Window.PreviousTabandAddtoSelection | Ctrl+Shift+Alt+PgUp |
| Window.PreviousToolWindowNav | Shift+Alt+F7 |
| Window.QuickLaunch | Ctrl+Q |
| Window.QuickLaunchPreviousCategory | Ctrl+Shift+Q |
| Window.ShowDockMenu | Alt+- |
| Window.ShowEzMDIFileList | Ctrl+Alt+Down Arrow |
| Window.SolutionExplorerSearch | Ctrl+; |
| Window.WindowSearch | Alt+` |
Azure
| Commands | Keyboard shortcuts |
|---|---|
| WindowsAzure.RetryMobileServiceScriptOperation | Ctrl+Num *, Ctrl+R |
| WindowsAzure.ShowMobileServiceScriptErrorDetails | Ctrl+Num *, Ctrl+D |
ADO.NET Entity Data Model Designer
| Commands | Keyboard shortcuts |
|---|---|
| OtherContextMenus.MicrosoftDataEntityDesignContext.MoveProperties.Down | Alt+Down Arrow |
| OtherContextMenus.MicrosoftDataEntityDesignContext.MoveProperties.Down5 | Alt+PgDn |
| OtherContextMenus.MicrosoftDataEntityDesignContext.MoveProperties.ToBottom | Alt+End |
| OtherContextMenus.MicrosoftDataEntityDesignContext.MoveProperties.ToTop | Alt+Home |
| OtherContextMenus.MicrosoftDataEntityDesignContext.MoveProperties.Up | Alt+Up Arrow |
| OtherContextMenus.MicrosoftDataEntityDesignContext.MoveProperties.Up5 | Alt+PgUp |
| OtherContextMenus.MicrosoftDataEntityDesignContext.Refactor.Rename | Ctrl+R, R |
| OtherContextMenus.MicrosoftDataEntityDesignContext.RemovefromDiagram | Shift+Del |
| View.EntityDataModelBrowser | Ctrl+1 |
| View.EntityDataModelMappingDetails | Ctrl+2 |
Class diagram
| Commands | Keyboard shortcuts |
|---|---|
| ClassDiagram.Collapse | Num - |
| ClassDiagram.Expand | Num + |
| Edit.Delete | Ctrl+Del |
| Edit.ExpandCollapseBaseTypeList | Shift+Alt+B |
| Edit.NavigateToLollipop | Shift+Alt+L |
| Edit.RemovefromDiagram | Delete |
| View.ViewCode | Enter |
Coded UI Test Editor
| Commands | Keyboard shortcuts |
|---|---|
| OtherContextMenus.UITestEditorContextMenu.CopyReferencetoClipboard | Ctrl+C |
| OtherContextMenus.UITestEditorContextMenu.InsertDelayBefore | Ctrl+Alt+D |
| OtherContextMenus.UITestEditorContextMenu.LocateAll | Shift+Alt+L |
| OtherContextMenus.UITestEditorContextMenu.LocatetheUIControl | Ctrl+Shift+L |
| OtherContextMenus.UITestEditorContextMenu.Movecode | Ctrl+Alt+C |
| OtherContextMenus.UITestEditorContextMenu.Splitintoanewmethod | Ctrl+Shift+T |
DataSet Editor
| Commands | Keyboard shortcuts |
|---|---|
| OtherContextMenus.ColumnContext.InsertColumn | Insert |
| OtherContextMenus.DbTableContext.Add.Column | Ctrl+L |
Difference Viewer
| Commands | Keyboard shortcuts |
|---|---|
| Diff.IgnoreTrimWhitespace | Ctrl+, Ctrl+Spacebar |
| Diff.InlineView | Ctrl+, Ctrl+1 |
| Diff.LeftOnlyView | Ctrl+, Ctrl+3 |
| Diff.NextDifference | F8 |
| Diff.PreviousDifference | Shift+F8 |
| Diff.RightOnlyView | Ctrl+, Ctrl+4 |
| Diff.SideBySideView | Ctrl+, Ctrl+2 |
| Diff.SwitchBetweenLeftAndRight | Ctrl+, Ctrl+Tab |
| Diff.SynchronizeViewToggle | Ctrl+, Ctrl+Down Arrow |
| EditorContextMenus.CodeWindow.AddComment | Ctrl+Shift+K |
| EditorContextMenus.CodeWindow.EditLocalFile | Ctrl+Shift+P |
DOM Explorer
| Commands | Keyboard shortcuts |
|---|---|
| DOMExplorer.Refresh | F5 |
| DOMExplorer.SelectElement | Ctrl+B |
| DOMExplorer.ShowLayout | Ctrl+Shift+I |
F# interactive
| Command | Keyboard shortcut |
|---|---|
| OtherContextMenus.FSIConsoleContext.CancelInteractiveEvaluation | Ctrl+Break |
Graph Document Editor
| Commands | Keyboard shortcuts |
|---|---|
| ArchitectureContextMenus.DirectedGraphContextMenu.Advanced.Add.AddNode | Insert |
| ArchitectureContextMenus.DirectedGraphContextMenu.Advanced.Select.BothDependencies | B |
| ArchitectureContextMenus.DirectedGraphContextMenu.Advanced.Select.IncomingDependencies | I |
| ArchitectureContextMenus.DirectedGraphContextMenu.Advanced.Select.OutgoingDependencies | O |
| ArchitectureContextMenus.DirectedGraphContextMenu.NewComment | Ctrl+Shift+K or Ctrl+E, C |
| ArchitectureContextMenus.DirectedGraphContextMenu.Remove | Delete |
| ArchitectureContextMenus.DirectedGraphContextMenu.Rename | F2 |
Graphics diagnostics
| Commands | Keyboard shortcuts |
|---|---|
| Debug.Graphics.CaptureFrame | None |
| Graphics.MovePixelSelectionDown | Shift+Alt+Down Arrow |
| Graphics.MovePixelSelectionLeft | Shift+Alt+Left Arrow |
| Graphics.MovePixelSelectionRight | Shift+Alt+Right Arrow |
| Graphics.MovePixelSelectionUp | Shift+Alt+Up Arrow |
| Graphics.ZoomToActualSize | Shift+Alt+0 (zero) |
| Graphics.ZoomToFitInWindow | Shift+Alt+9 |
| Graphics.ZoomIn | Shift+Alt+= |
| Graphics.ZoomOut | Shift+Alt+- |
HTML Editor
| Command | Keyboard shortcut |
|---|---|
| OtherContextMenus.HTMLContext.GoToController | Ctrl+M, Ctrl+G |
HTML Editor Design View
| Commands | Keyboard shortcuts |
|---|---|
| Edit.MoveControlDown | Ctrl+Down Arrow |
| Edit.MoveControlUp | Ctrl+Up Arrow |
| Format.Bold | Ctrl+B |
| Format.ConverttoHyperlink | Ctrl+L |
| Format.InsertBookmark | Ctrl+Shift+L |
| Format.Italic | Ctrl+I |
| Format.Underline | Ctrl+U |
| Project.AddContentPage | Ctrl+M, Ctrl+C |
| Table.ColumntotheLeft | Ctrl+Alt+Left Arrow |
| Table.ColumntotheRight | Ctrl+Alt+Right Arrow |
| Table.RowAbove | Ctrl+Alt+Up Arrow |
| Table.RowBelow | Ctrl+Alt+Down Arrow |
| View.ASP.NETNonvisualControls | Ctrl+Shift+N |
| View.EditMaster | Ctrl+M, Ctrl+M |
| View.NextView | Ctrl+PgDn |
| View.ShowSmartTag | Shift+Alt+F10 |
| View.ViewMarkup | Shift+F7 |
| Window.PreviousTab | Ctrl+PgUp |
HTML Editor Source View
| Commands | Keyboard shortcuts |
|---|---|
| OtherContextMenus.HTMLContext.GoToController | Ctrl+M, Ctrl+G |
| View.NextView | Ctrl+PgDn |
| View.SynchronizeViews | Ctrl+Shift+Y |
| View.ViewDesigner | Shift+F7 |
| Window.PreviousTab | Ctrl+PgUp |
Layer diagram
| Command | Keyboard shortcut |
|---|---|
| Edit.Delete | Shift+Delete |
Managed Resources Editor
| Commands | Keyboard shortcuts |
|---|---|
| Edit.EditCell | F2 |
| Edit.Remove | Delete |
| Edit.RemoveRow | Ctrl+Delete |
| Edit.SelectionCancel | Escape |
| Resources.Audio | Ctrl+4 |
| Resources.Files | Ctrl+5 |
| Resources.Icons | Ctrl+3 |
| Resources.Images | Ctrl+2 |
| Resources.Other | Ctrl+6 |
| Resources.Strings | Ctrl+1 |
Merge Editor window
| Commands | Keyboard shortcuts |
|---|---|
| TeamFoundationContextMenus.MergeContextMenu.SetFocusonLeftWindow | Alt+1 |
| TeamFoundationContextMenus.MergeContextMenu.SetFocusonResultWindow | Alt+2 |
| TeamFoundationContextMenus.MergeContextMenu.SetFocusonRightWindow | Alt+3 |
Microsoft SQL Server Data Tools, Schema Compare
| Commands | Keyboard shortcuts |
|---|---|
| SQL.SSDTSchemaCompareCompare | Shift+Alt+C |
| SQL.SSDTSchemaCompareGenerateScript | Shift+Alt+G |
| SQL.SSDTSchemaCompareNextChange | Shift+Alt+. |
| SQL.SSDTSchemaComparePreviousChange | Shift+Alt+, |
| SQL.SSDTSchemaCompareStop | Alt+Break |
| SQL.SSDTSchemaCompareWriteUpdates | Shift+Alt+U |
Microsoft SQL Server Data Tools, Table Designer
| Commands | Keyboard shortcuts |
|---|---|
| CommitAllEdits | Shift+Alt+U |
| SQL.ExpandWildcards | Ctrl+R, E or Ctrl+R, Ctrl+E |
| SQL.FullyqualifyNames | Ctrl+R, Q or Ctrl+R, Ctrl+Q |
| SQL.MovetoSchema | Ctrl+R, M or Ctrl+R, Ctrl+M |
| SQL.Rename | F2 or Ctrl+R, R or Ctrl+R, Ctrl+R |
| ViewFileInScriptPanel | Shift+Alt+PgDn |
Microsoft SQL Server Data Tools, T-SQL Editor
| Commands | Keyboard shortcuts |
|---|---|
| CommitAllEdits | Shift+Alt+U |
| SQL.ExecuteWithDebugger | Alt+F5 |
| SQL.ExpandWildcards | Ctrl+R, E or Ctrl+R, Ctrl+E |
| SQL.FullyqualifyNames | Ctrl+R, Q or Ctrl+R, Ctrl+Q |
| SQL.MovetoSchema | Ctrl+R, M or Ctrl+R, Ctrl+M |
| SQL.Rename | F2 or Ctrl+R, R or Ctrl+R, Ctrl+R |
| SQL.TSqlEditorCancelQuery | Alt+Break |
| SQL.TSqlEditorExecuteQuery | Ctrl+Shift+E |
| SQL.TSqlEditorResultsAsFile | Ctrl+D, F |
| SQL.TSqlEditorResultsAsGrid | Ctrl+D, G |
| SQL.TSqlEditorResultsAsText | Ctrl+D, T |
| SQL.TSqlEditorShowEstimatedPlan | Ctrl+D, E |
| SQL.TSqlEditorToggleExecutionPlan | Ctrl+D, A |
| SQL.TSqlEditorToggleResultsPane | Ctrl+D, R |
| TSqlEditorCloneQuery | Ctrl+Alt+N |
| TSqlEditorDatabaseCombo | Shift+Alt+PgDn |
Microsoft SQL Server Data Tools, T-SQL PDW Editor
| Commands | Keyboard shortcuts |
|---|---|
| SQL.TSqlEditorCancelQuery | Alt+Break |
| SQL.TSqlEditorExecuteQuery | Ctrl+Shift+E |
| SQL.TSqlEditorResultsAsFile | Ctrl+D, F |
| SQL.TSqlEditorResultsAsGrid | Ctrl+D, G |
| SQL.TSqlEditorResultsAsText | Ctrl+D, T |
| SQL.TSqlEditorShowEstimatedPlan | Ctrl+D, E |
| SQL.TSqlEditorToggleExecutionPlan | Ctrl+D, A |
| SQL.TSqlEditorToggleResultsPane | Ctrl+D, R |
| TSqlEditorCloneQuery | Ctrl+Alt+N |
| TSqlEditorDatabaseCombo | Shift+Alt+PgDn |
Page Inspector
| Command | Keyboard shortcut |
|---|---|
| PageInspector.Minimize | F12 |
Query Designer
| Commands | Keyboard shortcuts |
|---|---|
| QueryDesigner.CancelRetrievingData | Ctrl+T |
| QueryDesigner.Criteria | Ctrl+2 |
| QueryDesigner.Diagram | Ctrl+1 |
| QueryDesigner.ExecuteSQL | Ctrl+R |
| QueryDesigner.GotoRow | Ctrl+G |
| QueryDesigner.JoinMode | Ctrl+Shift+J |
| QueryDesigner.Results | Ctrl+4 |
| QueryDesigner.SQL | Ctrl+3 |
Query results
| Commands | Keyboard shortcuts |
|---|---|
| SQL.QueryResultsNewRow | Alt+End |
| SQL.QueryResultsRefresh | Shift+Alt+R |
| SQL.QueryResultsStop | Alt+Break |
Report Designer
| Commands | Keyboard shortcuts |
|---|---|
| Edit.BreakLine | Enter |
| Edit.CharLeft | Left Arrow |
| Edit.CharLeftExtend | Shift+Left Arrow |
| Edit.CharRight | Right Arrow |
| Edit.CharRightExtend | Shift+Right Arrow |
| Edit.InsertTab | Tab |
| Edit.LineDown | Down Arrow |
| Edit.LineDownExtend | Shift+Down Arrow |
| Edit.LineUp | Up Arrow |
| Edit.LineUpExtend | Shift+Up Arrow |
| Edit.MoveControlDown | Ctrl+Down Arrow |
| Edit.MoveControlLeft | Ctrl+Left Arrow |
| Edit.MoveControlRight | Ctrl+Right Arrow |
| Edit.MoveControlUp | Ctrl+Up Arrow |
| Edit.SelectionCancel | Esc |
| Edit.SizeControlDown | Ctrl+Shift+Down Arrow |
| Edit.SizeControlLeft | Ctrl+Shift+Left Arrow |
| Edit.SizeControlRight | Ctrl+Shift+Right Arrow |
| Edit.SizeControlUp | Ctrl+Shift+Up Arrow |
| Edit.TabLeft | Shift+Tab |
| View.ReportData | Ctrl+Alt+D |
Sequence diagram
| Commands | Keyboard shortcuts |
|---|---|
| ArchitectureDesigner.Sequence.NavigateToCode | F12 |
| Edit.Delete | Shift+Del |
Settings Designer
| Commands | Keyboard shortcuts |
|---|---|
| Edit.EditCell | F2 |
| Edit.RemoveRow | Ctrl+Delete |
| Edit.SelectionCancel | Esc |
| View.ViewCode | F7 |
Solution Explorer
| Command | Keyboard shortcut |
|---|---|
| ClassViewContextMenus.ClassViewProject.View.ViewinPageInspector | Ctrl+K, Ctrl+G |
Team Explorer
| Command | Keyboard Shortcut |
|---|---|
| Edit.Delete | Delete |
| File.Rename | F2 |
| TeamFoundationContextMenus.Commands.GoToTeamExplorerNavigation | Alt+Home |
| TeamFoundationContextMenus.Commands.GoToTeamExplorerNextSectionContent | Alt+Down Arrow |
| TeamFoundationContextMenus.Commands.GoToTeamExplorerPageContent | Alt+0 (zero) |
| TeamFoundationContextMenus.Commands.GoToTeamExplorerPreviousSectionContent | Alt+Up Arrow |
| TeamFoundationContextMenus.Commands.GoToTeamExplorerSection1Content | Alt+1 |
| TeamFoundationContextMenus.Commands.GoToTeamExplorerSection2Content | Alt+2 |
| TeamFoundationContextMenus.Commands.GoToTeamExplorerSection3Content | Alt+3 |
| TeamFoundationContextMenus.Commands.GoToTeamExplorerSection4Content | Alt+4 |
| TeamFoundationContextMenus.Commands.GoToTeamExplorerSection5Content | Alt+5 |
| TeamFoundationContextMenus.Commands.GoToTeamExplorerSection6Content | Alt+6 |
| TeamFoundationContextMenus.Commands.GoToTeamExplorerSection7Content | Alt+7 |
| TeamFoundationContextMenus.Commands.GoToTeamExplorerSection8Content | Alt+8 |
| TeamFoundationContextMenus.Commands.GoToTeamExplorerSection9Content | Alt+9 |
| TeamFoundationContextMenus.Commands.TeamExplorerNavigateBackward | Alt+Left Arrow |
| TeamFoundationContextMenus.Commands.TeamExplorerNavigateForward | Alt+Right Arrow |
| TeamFoundationContextMenus.MyWorkPageInProgress.TfsContextMyWorkPageCreateCopyWI | Shift+Alt+C |
| TeamFoundationContextMenus.MyWorkPageInProgress.TfsContextMyWorkPageNewLinkedWI | Shift+Alt+L |
| View.Refresh | F5 |
Test Explorer
| Command | Keyboard shortcut |
|---|---|
| TestExplorer.OpenTest | F12 |
Text Editor
| Commands | Keyboard shortcuts |
|---|---|
| Edit.BreakLine | Enter or Shift+Enter |
| Edit.CharLeft | Left Arrow |
| Edit.CharLeftExtend | Shift+Left Arrow |
| Edit.CharLeftExtendColumn | Shift+Alt+Left Arrow |
| Edit.CharRight | Right Arrow |
| Edit.CharRightExtend | Shift+Right Arrow |
| Edit.CharRightExtendColumn | Shift+Alt+Right Arrow |
| Edit.ClearBookmarks | Ctrl+K, Ctrl+L |
| Edit.CollapseAllOutlining | Ctrl+M, Ctrl+A |
| Edit.CollapseCurrentRegion | Ctrl+M, Ctrl+S |
| Edit.CollapseTag | Ctrl+M, Ctrl+T |
| Edit.CollapseToDefinitions | Ctrl+M, Ctrl+O (letter 'O') |
| Edit.ContractSelection | Shift+Alt+- (non-C++ only) |
| Edit.CommentSelection | Ctrl+K, Ctrl+C |
| Edit.CompleteWord | Ctrl+Space or Alt+Right Arrow |
| Edit.CopyParameterTip | Ctrl+Shift+Alt+C |
| Edit.DecreaseFilterLevel | Alt+, |
| Edit.DeleteBackwards | Backspace or Shift+Bkspce |
| Edit.DeleteHorizontalWhiteSpace | Ctrl+K, Ctrl+ |
| Edit.DocumentEnd | Ctrl+End |
| Edit.DocumentEndExtend | Ctrl+Shift+End |
| Edit.DocumentStart | Ctrl+Home |
| Edit.DocumentStartExtend | Ctrl+Shift+Home |
| Edit.ExpandAllOutlining | Ctrl+M, Ctrl+X |
| Edit.ExpandCurrentRegion | Ctrl+M, Ctrl+E |
| Edit.ExpandSelection | Shift+Alt+= (non-C++ only) |
| Edit.ExpandSelectiontoContainingBlock | Shift+Alt+] |
| Edit.FormatDocument | Ctrl+K, Ctrl+D |
| Edit.FormatSelection | Ctrl+K, Ctrl+F |
| Edit.GotoAll | Ctrl+T or Ctrl+, |
| Edit.GotoBrace | Ctrl+] |
| Edit.GotoBraceExtend | Ctrl+Shift+] |
| Edit.GotoRecent | Ctrl+T,R |
| Edit.GotoNextIssueinFile | Alt+PgDn |
| Edit.GotoPreviousIssueinFile | Alt+PgUp |
| Edit.HideSelection | Ctrl+M, Ctrl+H |
| Edit.IncreaseFilterLevel | Alt+. |
| Edit.IncrementalSearch | Ctrl+I |
| Edit.InsertCaretsatAllMatching | Shift+Alt+; |
| Edit.InsertNextMatchingCaret | Shift+Alt+. |
| Edit.InsertTab | Tab |
| Edit.LineCut | Ctrl+L |
| Edit.LineDelete | Ctrl+Shift+L |
| Edit.LineDown | Down Arrow |
| Edit.LineDownExtend | Shift+Down Arrow |
| Edit.LineDownExtendColumn | Shift+Alt+Down Arrow |
| Edit.LineEnd | End |
| Edit.LineEndExtend | Shift+End |
| Edit.LineEndExtendColumn | Shift+Alt+End |
| Edit.LineOpenAbove | Ctrl+Enter |
| Edit.LineOpenBelow | Ctrl+Shift+Enter |
| Edit.LineStart | Home |
| Edit.LineStartExtend | Shift+Home |
| Edit.LineStartExtendColumn | Shift+Alt+Home |
| Edit.LineTranspose | Shift+Alt+T |
| Edit.LineUp | Up Arrow |
| Edit.LineUpExtend | Shift+Up Arrow |
| Edit.LineUpExtendColumn | Shift+Alt+Up Arrow |
| Edit.ListMembers | Ctrl+J |
| Edit.MakeLowercase | Ctrl+U |
| Edit.MakeUppercase | Ctrl+Shift+U |
| Edit.MoveSelectedLinesDown | Alt+Down Arrow |
| Edit.MoveSelectedLinesUp | Alt+Up Arrow |
| Edit.NextHighlightedReference | Ctrl+Shift+Down Arrow |
| Edit.OvertypeMode | Insert |
| Edit.PageDown | PgDn |
| Edit.PageDownExtend | Shift+PgDn |
| Edit.PageUp | PgUp |
| Edit.PageUpExtend | Shift+PgUp |
| Edit.ParameterInfo | Ctrl+Shift+Spacebar |
| Edit.PasteParameterTip | Ctrl+Shift+Alt+P |
| Edit.PeekBackward | Ctrl+Alt+- |
| Edit.PeekDefinition | Alt+F12 |
| Edit.PeekForward | Ctrl+Alt+= |
| Edit.PreviousHighlightedReference | Ctrl+Shift+Up Arrow |
| Edit.QuickInfo | Ctrl+K, Ctrl+I |
| Edit.ReverseIncrementalSearch | Ctrl+Shift+I |
| Edit.ScrollLineDown | Ctrl+Down Arrow |
| Edit.ScrollLineUp | Ctrl+Up Arrow |
| Edit.SelectCurrentWord | Ctrl+W |
| Edit.SelectionCancel | Escape |
| Edit.SelectToLastGoBack | Ctrl+= |
| Edit.ShowCodeLensMenu | Ctrl+K, Ctrl+` |
| Edit.ShowNavigateMenu | Alt+` |
| Edit.StopHidingCurrent | Ctrl+M, Ctrl+U |
| Edit.StopOutlining | Ctrl+M, Ctrl+P |
| Edit.SwapAnchor | Ctrl+K, Ctrl+A |
| Edit.TabLeft | Shift+Tab |
| Edit.ToggleAllOutlining | Ctrl+M, Ctrl+L |
| Edit.ToggleBookmark | Ctrl+K, Ctrl+K |
| Edit.ToggleCompletionMode | Ctrl+Alt+Space |
| Edit.ToggleOutliningExpansion | Ctrl+M, Ctrl+M |
| Edit.ToggleTaskListShortcut | Ctrl+K, Ctrl+H |
| Edit.ToggleWordWrap | Ctrl+E, Ctrl+W |
| Edit.UncommentSelection | Ctrl+K, Ctrl+U |
| Edit.ViewBottom | Ctrl+PgDn |
| Edit.ViewBottomExtend | Ctrl+Shift+PgDn |
| Edit.ViewTop | Ctrl+PgUp |
| Edit.ViewTopExtend | Ctrl+Shift+PgUp |
| Edit.ViewWhiteSpace | Ctrl+R, Ctrl+W |
| Edit.WordDeleteToEnd | Ctrl+Delete |
| Edit.WordDeleteToStart | Ctrl+Backspace |
| Edit.WordNext | Ctrl+Right Arrow |
| Edit.WordNextExtend | Ctrl+Shift+Right Arrow |
| Edit.WordNextExtendColumn | Ctrl+Shift+Alt+Right Arrow |
| Edit.WordPrevious | Ctrl+Left Arrow |
| Edit.WordPreviousExtend | Ctrl+Shift+Left Arrow |
| Edit.WordPreviousExtendColumn | Ctrl+Shift+Alt+Left Arrow |
| Edit.WordTranspose | Ctrl+Shift+T |
| EditorContextMenus.CodeWindow.ExecuteInInteractive | Alt+Enter |
| EditorContextMenus.CodeWindow.ExecuteLineInInteractive | Alt+' |
| OtherContextMenus.HTMLContext.ViewinPageInspector | Ctrl+K, Ctrl+G |
| TeamFoundationContextMenus.Annotate.TfsAnnotateMoveNextRegion | Alt+PgDn |
| TeamFoundationContextMenus.Annotate.TfsAnnotateMovePreviousRegion | Alt+PgUp |
Keyboard Shortcut For Comment In Visual Studio Mac
UML activity diagram
| Command | Keyboard shortcut |
|---|---|
| Edit.Delete | Shift+Del |
UML class diagram
| Command | Keyboard shortcut |
|---|---|
| Edit.DeleteFromModel | Shift+Del |
UML component diagram
| Command | Keyboard shortcut |
|---|---|
| Edit.DeleteFromModel | Shift+Del |
UML use case diagram
| Command | Keyboard shortcut |
|---|---|
| Edit.DeleteFromModel | Shift+Del |
VC Accelerator Editor
| Commands | Keyboard shortcuts |
|---|---|
| Edit.NewAccelerator | Insert |
| Edit.NextKeyTyped | Ctrl+W |
VC Dialog Editor
| Commands | Keyboard shortcuts |
|---|---|
| Edit.MoveControlDown | Down Arrow |
| Edit.MoveControlLeft | Left Arrow |
| Edit.MoveControlRight | Right Arrow |
| Edit.MoveControlUp | Up Arrow |
| Edit.ScrollColumnLeft | Ctrl+Left Arrow |
| Edit.ScrollColumnRight | Ctrl+Right Arrow |
| Edit.ScrollLineDown | Ctrl+Down Arrow |
| Edit.ScrollLineUp | Ctrl+Up Arrow |
| Edit.SizeControlDown | Shift+Down Arrow |
| Edit.SizeControlLeft | Shift+Left Arrow |
| Edit.SizeControlRight | Shift+Right Arrow |
| Edit.SizeControlUp | Shift+Up Arrow |
| Format.AlignBottoms | Ctrl+Shift+Down Arrow |
| Format.AlignCenters | Shift+F9 |
| Format.AlignLefts | Ctrl+Shift+Left Arrow |
| Format.AlignMiddles | F9 |
| Format.AlignRights | Ctrl+Shift+Right Arrow |
| Format.AlignTops | Ctrl+Shift+Up Arrow |
| Format.ButtonBottom | Ctrl+B |
| Format.ButtonRight | Ctrl+R |
| Format.CenterHorizontal | Ctrl+Shift+F9 |
| Format.CenterVertical | Ctrl+F9 |
| Format.CheckMnemonics | Ctrl+M |
| Format.SizetoContent | Shift+F7 |
| Format.SpaceAcross | Alt+Right Arrow or Alt+Left Arrow |
| Format.SpaceDown | Alt+Up Arrow or Alt+Down Arrow |
| Format.TabOrder | Ctrl+D |
| Format.TestDialog | Ctrl+T |
| Format.ToggleGuides | Ctrl+G |
VC Image Editor
| Commands | Keyboard shortcuts |
|---|---|
| Image.AirbrushTool | Ctrl+A |
| Image.BrushTool | Ctrl+B |
| Image.CopyandOutlineSelection | Ctrl+Shift+U |
| Image.DrawOpaque | Ctrl+J |
| Image.EllipseTool | Alt+P |
| Image.EraseTool | Ctrl+Shift+I |
| Image.FilledEllipseTool | Ctrl+Shift+Alt+P |
| Image.FilledRectangleTool | Ctrl+Shift+Alt+R |
| Image.FilledRoundedRectangleTool | Ctrl+Shift+Alt+W |
| Image.FillTool | Ctrl+F |
| Image.FlipHorizontal | Ctrl+H |
| Image.FlipVertical | Shift+Alt+H |
| Image.LargerBrush | Ctrl+= |
| Image.LineTool | Ctrl+L |
| Image.MagnificationTool | Ctrl+M |
| Image.Magnify | Ctrl+Shift+M |
| Image.NewImageType | Insert |
| Image.NextColor | Ctrl+] or Ctrl+Right Arrow |
| Image.NextRightColor | Ctrl+Shift+] or Ctrl+Shift+Right Arrow |
| Image.OutlinedEllipseTool | Shift+Alt+P |
| Image.OutlinedRectangleTool | Shift+Alt+R |
| Image.OutlinedRoundedRectangleTool | Shift+Alt+W |
| Image.PencilTool | Ctrl+I |
| Image.PreviousColor | Ctrl+[ or Ctrl+Left Arrow |
| Image.PreviousRightColor | Ctrl+Shift+[ or Ctrl+Shift+Left Arrow |
| Image.RectangleSelectionTool | Shift+Alt+S |
| Image.RectangleTool | Alt+R |
| Image.Rotate90Degrees | Ctrl+Shift+H |
| Image.RoundedRectangleTool | Alt+W |
| Image.ShowGrid | Ctrl+Alt+S |
| Image.ShowTileGrid | Ctrl+Shift+Alt+S |
| Image.SmallBrush | Ctrl+. |
| Image.SmallerBrush | Ctrl+- |
| Image.TextTool | Ctrl+T |
| Image.UseSelectionasBrush | Ctrl+U |
| Image.ZoomIn | Ctrl+Shift+. or Ctrl+Up Arrow |
| Image.ZoomOut | Ctrl+Shift+, or Ctrl+Down Arrow |
VC String Editor
| Command | Keyboard shortcut |
|---|---|
| Edit.NewString | Insert |
View Designer
| Commands | Keyboard shortcuts |
|---|---|
| QueryDesigner.CancelRetrievingData | Ctrl+T |
| QueryDesigner.Criteria | Ctrl+2 |
| QueryDesigner.Diagram | Ctrl+1 |
| QueryDesigner.ExecuteSQL | Ctrl+R |
| QueryDesigner.GotoRow | Ctrl+G |
| QueryDesigner.JoinMode | Ctrl+Shift+J |
| QueryDesigner.Results | Ctrl+4 |
| QueryDesigner.SQL | Ctrl+3 |
Visual Studio
| Command | Keyboard shortcut |
|---|---|
| OtherContextMenus.ORDesignerContext.HideMethodsPane | Ctrl+1 |
Windows Forms Designer
| Commands | Keyboard shortcuts |
|---|---|
| Edit.BreakLine | Enter |
| Edit.CharLeft | Left Arrow |
| Edit.CharLeftExtend | Shift+Left Arrow |
| Edit.CharRight | Right Arrow |
| Edit.CharRightExtend | Shift+Right Arrow |
| Edit.DocumentEnd | End |
| Edit.DocumentEndExtend | Shift+End |
| Edit.DocumentStart | Home |
| Edit.DocumentStartExtend | Shift+Home |
| Edit.InsertTab | Tab |
| Edit.LineDown | Down Arrow |
| Edit.LineDownExtend | Shift+Up Arrow |
| Edit.LineUp | Up Arrow |
| Edit.LineUpExtend | Shift+Down Arrow |
| Edit.MoveControlDown | Ctrl+Down Arrow |
| Edit.MoveControlLeft | Ctrl+Left Arrow |
| Edit.MoveControlRight | Ctrl+Right Arrow |
| Edit.MoveControlUp | Ctrl+Up Arrow |
| Edit.SelectionCancel | Escape |
| Edit.SizeControlDown | Ctrl+Shift+Down Arrow |
| Edit.SizeControlLeft | Ctrl+Shift+Left Arrow |
| Edit.SizeControlRight | Ctrl+Shift+Right Arrow |
| Edit.SizeControlUp | Ctrl+Shift+Up Arrow |
| Edit.TabLeft | Shift+Tab |
Work Item Editor
| Commands | Keyboard shortcuts |
|---|---|
| Edit.CreateCopyofWorkItem | Shift+Alt+C |
| Edit.RefreshWorkItem | F5 |
| Team.NewLinkedWorkItem | Shift+Alt+L |
Work Item Query View
| Commands | Keyboard shortcuts |
|---|---|
| Edit.CreateCopyofWorkItem | Shift+Alt+C |
| Edit.Indent | Shift+Alt+Right Arrow |
| Edit.Outdent | Shift+Alt+Left Arrow |
| Team.NewLinkedWorkItem | Shift+Alt+L |
| Team.Refresh | F5 |
| Window.Toggle | Shift+Alt+V |
Work Item Results View
Block Comment Visual Studio Shortcut
| Commands | Keyboard shortcuts |
|---|---|
| Edit.CreateCopyofWorkItem | Shift+Alt+C |
| Edit.Indent | Shift+Alt+Right Arrow |
| Edit.Outdent | Shift+Alt+Left Arrow |
| Team.GotoNextWorkItem | Shift+Alt+N |
| Team.GotoPreviousWorkItem | Shift+Alt+P |
| Team.NewLinkedWorkItem | Shift+Alt+L |
| Team.Refresh | F5 |
| Window.Toggle | Shift+Alt+V |
Workflow Designer
| Commands | Keyboard shortcuts |
|---|---|
| Edit.CompleteWord | Ctrl+K, W or Ctrl+K, Ctrl+W or Ctrl+Spacebar or Alt+Right Arrow |
| Edit.DecreaseFilterLevel | Alt+, |
| Edit.IncreaseFilterLevel | Alt+. |
| Edit.ListMembers | Ctrl+K, L or Ctrl+K, Ctrl+L or Ctrl+J |
| Edit.ParameterInfo | Ctrl+K, P or Ctrl+K, Ctrl+P or Ctrl+Shift+Spacebar |
| Edit.QuickInfo | Ctrl+K, I or Ctrl+K, Ctrl+I |
| WorkflowDesigner.Collapse | Ctrl+E, Ctrl+C or Ctrl+E, C |
| WorkflowDesigner.CollapseAll | or |
| WorkflowDesigner.ConnectNodes | Ctrl+E, Ctrl+F or Ctrl+E, F |
| WorkflowDesigner.CreateVariable | Ctrl+E, Ctrl+N or Ctrl+E, N |
| WorkflowDesigner.ExpandAll | Ctrl+E, Ctrl+X or Ctrl+E, X |
| WorkflowDesigner.ExpandInPlace | Ctrl+E, Ctrl+E or Ctrl+E, E |
| WorkflowDesigner.GoToParent | Ctrl+E, Ctrl+P or Ctrl+E, P |
| WorkflowDesigner.MoveFocus | Ctrl+E, Ctrl+M or Ctrl+E, M |
| WorkflowDesigner.NavigateThroughDesigner | Ctrl+Alt+F6 |
| WorkflowDesigner.Restore | Ctrl+E, Ctrl+R or Ctrl+E, R |
| WorkflowDesigner.ShowHideArgumentDesigner | Ctrl+E, Ctrl+A or Ctrl+E, A |
| WorkflowDesigner.ShowHideImportsDesigner | Ctrl+E, Ctrl+I or Ctrl+E, I |
| WorkflowDesigner.ShowHideOverviewMap | Ctrl+E, Ctrl+O (letter 'O') or Ctrl+E, O |
| WorkflowDesigner.ShowHideVariableDesigner | Ctrl+E, Ctrl+V or Ctrl+E, V |
| WorkflowDesigner.ToggleSelection | Ctrl+E, Ctrl+S or Ctrl+E, S |
| WorkflowDesigner.ZoomIn | Ctrl+Num + |
| WorkflowDesigner.ZoomOut | Ctrl+Num - |
XAML UI Designer
| Commands | Keyboard shortcuts |
|---|---|
| Design.FitAll | Ctrl+0 (zero) |
| Design.ShowHandles | F9 |
| Design.ZoomIn | Ctrl+Alt+= |
| Design.ZoomOut | Ctrl+Alt+- |
| Designer options | Ctrl+Shift+; |
| Format.EditText | F2 |
| Format.ResetLayout.All | Ctrl+Shift+R |
| Run project code | Ctrl+F9 |
| Timeline.Hide (Blend only) | Ctrl+H |
| Timeline.Lock (Blend only) | Ctrl+L |
| Timeline.Show (Blend only) | Ctrl+Shift+H |
| Timeline.Unlock (Blend only) | Ctrl+Shift+L |
| View.EdgeLeftMoveLeft | Ctrl+Shift+, |
| View.EdgeLeftMoveRight | Ctrl+Shift+. |
| View.EdgeRightMoveLeft | Ctrl+Shift+Alt+, |
| View.EdgeRightMoveRight | Ctrl+Shift+Alt+. |
| View.ShowPropertyMarkerMenu | Ctrl+Spacebar |
XML (Text) Editor
| Commands | Keyboard shortcuts |
|---|---|
| XML.StartXSLTDebugging | Alt+F5 |
| XML.StartXSLTWithoutDebugging | Ctrl+Alt+F5 |
XML Schema Designer
| Commands | Keyboard shortcuts |
|---|---|
| GraphView.BottomtoTop | Alt+Up Arrow |
| GraphView.LefttoRight | Alt+Right Arrow |
| GraphView.RighttoLeft | Alt+Left Arrow |
| GraphView.ToptoBottom | Alt+Down Arrow |
| OtherContextMenus.GraphView.RemovefromWorkspace | Delete |
| XsdDesigner.ShowContentModelView | Ctrl+2 |
| XsdDesigner.ShowGraphView | Ctrl+3 |
| XsdDesigner.ShowStartView | Ctrl+1 |