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 Edition

Browse by Topic

You need to sign in to do that


Don't have an account?

ShowAll Questionssorted byDate Posted

Show

  • 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
sfdcviraj
Hello Friends,
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
KaranrajCurrently there is no keyboard shortcuts to comment the code. Following are the keyboard shortcuts aviable for developer console
  • 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
sfdcviraj
I came with the same conclution.
Hence had to post an idea at - https://success.salesforce.com/ideaView?id=08730000000DqmhAAC
  • July 10, 2015
  • ·
  • 0
  • ·
  • 0
Saurabh Sood 8

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
Austin Wang 13
Use Sublime + mavenmate or simply copy to sublime editor then copy it back to console.
In Sublime, the shortkey is Ctrl + /
  • June 23, 2018
  • ·
  • 0
  • ·
  • 0
Akshay_Dhiman
Hi sfdcviraj,
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.

Have an account?Sign In
Dismiss -->

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.

AnalyzeEditProjectTest
ArchitectureEditor context menusProject and Solution context menusTest Explorer
BuildFileRefactorTools
Class View context menusHelpSolution ExplorerView
DebugLoad testTeamWindow
Debugger context menusOther context menusTeam Foundation context menusAzure
Diagnostics hub

Global shortcuts

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

Analyze

CommandsKeyboard shortcuts
Analyze.NavigateBackwardShift+Alt+3
Analyze.NavigateForwardShift+Alt+4

Architecture

CommandsKeyboard shortcuts
Architecture.NewDiagramCtrl+, Ctrl+N

Build

CommandsKeyboard shortcuts
Build.BuildSelectionCtrl+B (Visual Studio 2019)
Build.BuildSolutionCtrl+Shift+B
Build.CancelCtrl+Break
Build.CompileCtrl+F7
Build.RunCodeAnalysisonSolutionAlt+F11

Class View context menus

Keyboard Shortcut For Commenting In Visual Studio Mac
CommandsKeyboard shortcuts
ClassViewContextMenus.ClassViewMultiselectProjectreferencesItems.PropertiesAlt+Enter

Debug

CommandsKeyboard shortcuts
Debug.ApplyCodeChangesAlt+F10
Debug.AutosCtrl+Alt+V, A
Debug.BreakAllCtrl+Alt+Break
Debug.BreakpointsCtrl+Alt+B
Debug.CallStackCtrl+Alt+C
Debug.DeleteAllBreakpointsCtrl+Shift+F9
Debug.DiagnosticsHub.LaunchAlt+F2
Debug.DisassemblyCtrl+Alt+D
Debug.DOMExplorerCtrl+Alt+V, D
Debug.EnableBreakpointCtrl+F9
Debug.ExceptionsCtrl+Alt+E
Debug.FunctionBreakpointCtrl+K, B (Visual Studio 2019)
Ctrl+B (Visual Studio 2017)
Debug.GoToPreviousCallorIntelliTraceEventCtrl+Shift+F11
Debug.Graphics.StartDiagnosticsAlt+F5
Debug.ImmediateCtrl+Alt+I
Debug.IntelliTraceCallsCtrl+Alt+Y, T
Debug.IntelliTraceEventsCtrl+Alt+Y, F
Debug.JavaScriptConsoleCtrl+Alt+V, C
Debug.LocalsCtrl+Alt+V, L
Debug.LocationToolbar.ProcessComboCtrl+5
Debug.LocationToolbar.StackFrameComboCtrl+7
Debug.LocationToolbar.ThreadComboCtrl+6
Debug.LocationToolbar.ToggleCurrentThreadFlaggedStateCtrl+8
Debug.LocationToolbar.ToggleFlaggedThreadsCtrl+9
Debug.Memory1Ctrl+Alt+M, 1
Debug.Memory2Ctrl+Alt+M, 2
Debug.Memory3Ctrl+Alt+M, 3
Debug.Memory4Ctrl+Alt+M, 4
Debug.ModulesCtrl+Alt+U
Debug.ParallelStacksCtrl+Shift+D, S
Debug.ParallelWatch1Ctrl+Shift+D, 1
Debug.ParallelWatch2Ctrl+Shift+D, 2
Debug.ParallelWatch3Ctrl+Shift+D, 3
Debug.ParallelWatch4Ctrl+Shift+D, 4
Debug.ProcessesCtrl+Alt+Z
Debug.QuickWatchShift+F9 or Ctrl+Alt+Q
Debug.RefreshWindowsappCtrl+Shift+R
Debug.RegistersCtrl+Alt+G
Debug.RestartCtrl+Shift+F5
Debug.RunToCursorCtrl+F10
Debug.SetNextStatementCtrl+Shift+F10
Debug.ShowCallStackonCodeMapCtrl+Shift+`
Debug.ShowNextStatementAlt+Num *
Debug.StartF5
Debug.StartWindowsPhoneApplicationAnalysisAlt+F1
Debug.StartWithoutDebuggingCtrl+F5
Debug.StepIntoF11
Debug.StepIntoCurrentProcessCtrl+Alt+F11
Debug.StepIntoSpecificShift+Alt+F11
Debug.StepOutShift+F11
Debug.StepOutCurrentProcessCtrl+Shift+Alt+F11
Debug.StepOverF10 (When debugging: Performs a step over action)
Debug.StepOverF10 (When not debugging: Starts debugging and stops on the first line of user code)
Debug.StepOverCurrentProcessCtrl+Alt+F10
Debug.StopDebuggingShift+F5
Debug.StopPerformanceAnalysisShift+Alt+F2
Debug.TasksCtrl+Shift+D, K
Debug.ThreadsCtrl+Alt+H
Debug.ToggleBreakpointF9
Debug.ToggleDisassemblyCtrl+F11
Debug.Watch1Ctrl+Alt+W, 1
Debug.Watch2Ctrl+Alt+W, 2
Debug.Watch3Ctrl+Alt+W, 3
Debug.Watch4Ctrl+Alt+W, 4

Debugger context menus

CommandsKeyboard shortcuts
DebuggerContextMenus.BreakpointsWindow.DeleteAlt+F9, D
DebuggerContextMenus.BreakpointsWindow.GoToDisassemblyAlt+F9, A
DebuggerContextMenus.BreakpointsWindow.GoToSourceCodeAlt+F9, S

Diagnostics Hub

CommandKeyboard shortcut
DiagnosticsHub.StopCollectionCtrl+Alt+F2

Edit

CommandsKeyboard shortcuts
Edit.CopyCtrl+C
or
Ctrl+Ins
Edit.CutCtrl+X
or
Shift+Delete
Edit.CycleClipboardRingCtrl+Shift+V
or
Ctrl+Shift+Ins
Edit.DeleteDelete
Edit.DuplicateCtrl+D
Edit.FindCtrl+F
Edit.FindAllReferencesShift+F12
Edit.FindinFilesCtrl+Shift+F
Edit.FindNextF3
Edit.FindNextSelectedCtrl+F3
Edit.FindPreviousShift+F3
Edit.FindPreviousSelectedCtrl+Shift+F3
Edit.GenerateMethodCtrl+K, Ctrl+M
Edit.GoToCtrl+G
Edit.GoToAllCtrl+, or Ctrl+T
Edit.GoToDeclarationCtrl+F12
Edit.GoToDefinitionF12
Edit.GoToMemberCtrl+1, Ctrl+M or Ctrl+1, M or Alt+
Edit.GoToNextLocationF8 (Next error in Error List or Output window)
Edit.GoToPrevLocationShift+F8 (Previous error in Error List or Output window)
Edit.InsertSnippetCtrl+K, Ctrl+X
Edit.MoveControlDownCtrl+Down Arrow
Edit.MoveControlDownGridDown Arrow
Edit.MoveControlLeftCtrl+Left Arrow
Edit.MoveControlLeftGridLeft Arrow
Edit.MoveControlRightCtrl+Right Arrow
Edit.MoveControlRightGridRight Arrow
Edit.MoveControlUpCtrl+Up Arrow
Edit.MoveControlUpGridUp Arrow
Edit.NextBookmarkCtrl+K, Ctrl+N
Edit.NextBookmarkInFolderCtrl+Shift+K, Ctrl+Shift+N
Edit.OpenFileCtrl+Shift+G (Opens the file name under the cursor)
Edit.PasteCtrl+V
or
Shift+Ins
Edit.PreviousBookmarkCtrl+K, Ctrl+P
Edit.PreviousBookmarkInFolderCtrl+Shift+K, Ctrl+Shift+P
Edit.QuickFindSymbolShift+Alt+F12
Edit.RedoCtrl+Y
or
Ctrl+Shift+Z
or
Shift+Alt+Backspace
Edit.RefreshRemoteReferencesCtrl+Shift+J
Edit.ReplaceCtrl+H
Edit.ReplaceinFilesCtrl+Shift+H
Edit.SelectAllCtrl+A
Edit.SelectNextControlTab
Edit.SelectPreviousControlShift+Tab
Edit.ShowTileGridEnter
Edit.SizeControlDownCtrl+Shift+Down Arrow
Edit.SizeControlDownGridShift+Down Arrow
Edit.SizeControlLeftCtrl+Shift+Left Arrow
Edit.SizeControlLeftGridShift+Left Arrow
Edit.SizeControlRightCtrl+Shift+Right Arrow
Edit.SizeControlRightGridShift+Right Arrow
Edit.SizeControlUpCtrl+Shift+Up Arrow
Edit.SizeControlUpGridShift+Up Arrow
Edit.StopSearchAlt+F3, S
Edit.SurroundWithCtrl+K, Ctrl+S
Edit.UndoCtrl+Z
or
Alt+Backspace

Editor context menus

CommandsKeyboard shortcuts
EditorContextMenus.CodeWindow.Breakpoint.BreakpointEditlabelsAlt+F9, L
EditorContextMenus.CodeWindow.CodeMap.ShowItemCtrl+`
EditorContextMenus.CodeWindow.ExecuteCtrl+Alt+F5
EditorContextMenus.CodeWindow.GoToViewCtrl+M, Ctrl+G
EditorContextMenus.CodeWindow.ToggleHeaderCodeFileCtrl+K, Ctrl+O (letter 'O')
EditorContextMenus.CodeWindow.ViewCallHierarchyCtrl+K, Ctrl+T
or
Ctrl+K, T

File

CommandsKeyboard shortcuts
File.ExitAlt+F4
File.NewFileCtrl+N
File.NewProjectCtrl+Shift+N
File.NewWebSiteShift+Alt+N
File.OpenFileCtrl+O (letter 'O')
File.OpenProjectCtrl+Shift+O (letter 'O')
File.OpenWebSiteShift+Alt+O (letter 'O')
File.PrintCtrl+P
File.SaveAllCtrl+Shift+S
File.SaveSelectedItemsCtrl+S
File.ViewinBrowserCtrl+Shift+W

Help

CommandsKeyboard shortcuts
Help.AddandRemoveHelpContentCtrl+Alt+F1
Help.F1HelpF1
Help.ViewHelpCtrl+F1
Help.WindowHelpShift+F1

Load test

CommandKeyboard shortcut
LoadTest.JumpToCounterPaneCtrl+R, Q

Other context menus

CommandKeyboard shortcut
OtherContextMenus.MicrosoftDataEntityDesignContext.AddNewDiagramInsert

Project

CommandsKeyboard shortcuts
Project.AddExistingItemShift+Alt+A
Project.AddNewItemCtrl+Shift+A
Project.ClassWizardCtrl+Shift+X
Project.OverrideCtrl+Alt+Ins
Project.PreviewchangesAlt+; then Alt+C
Project.PublishselectedfilesAlt+; then Alt+P
Project.ReplaceselectedfilesfromserverAlt+; then Alt+R

Project and solution context menus

CommandsKeyboard shortcuts
ProjectandSolutionContextMenus.Item.MoveDownAlt+Down Arrow
ProjectandSolutionContextMenus.Item.MoveUpAlt+Up Arrow

Refactor

CommandsKeyboard shortcuts
Refactor.EncapsulateFieldCtrl+R, Ctrl+E
Refactor.ExtractInterfaceCtrl+R, Ctrl+I
Refactor.ExtractMethodCtrl+R, Ctrl+M
Refactor.RemoveParametersCtrl+R, Ctrl+V
Refactor.RenameCtrl+R, Ctrl+R
Refactor.ReorderParametersCtrl+R, Ctrl+O (letter 'O')

Solution Explorer

CommandsKeyboard shortcuts
SolutionExplorer.OpenFilesFilterCtrl+[, O (letter 'O')
or
Ctrl+[, Ctrl+O (letter 'O')
SolutionExplorer.PendingChangesFilterCtrl+[, P
or
Ctrl+[, Ctrl+P
SolutionExplorer.SyncWithActiveDocumentCtrl+[, S
or
Ctrl+[, Ctrl+S

Team

CommandsKeyboard shortcuts
Team.Git.GoToGitBranchesCtrl+0 (zero), Ctrl+N
or
Ctrl+0, N
Team.Git.GoToGitChangesCtrl+0 (zero), Ctrl+G
or
Ctrl+0, G
Team.Git.GoToGitCommitsCtrl+0 (zero), Ctrl+O (letter 'O')
or
Ctrl+0, O
Team.TeamExplorerSearchCtrl+'

Team Foundation context menus

CommandsKeyboard shortcuts
TeamFoundationContextMenus.Commands.GoToBuildsCtrl+0 (zero), Ctrl+B
or
Ctrl+0, B
TeamFoundationContextMenus.Commands.GoToConnectCtrl+0 (zero), Ctrl+C
or
Ctrl+0, C
TeamFoundationContextMenus.Commands.GoToDocumentsCtrl+0 (zero), Ctrl+D
or
Ctrl+0, D
TeamFoundationContextMenus.Commands.GoToHomeCtrl+0 (zero), Ctrl+H
or
Ctrl+0, H
TeamFoundationContextMenus.Commands.GoToMyWorkCtrl+0 (zero), Ctrl+M
or
Ctrl+0, M
TeamFoundationContextMenus.Commands.GoToPendingChangesCtrl+0 (zero), Ctrl+P
or
Ctrl+0, P
TeamFoundationContextMenus.Commands.GoToReportsCtrl+0 (zero), Ctrl+R
or
Ctrl+0, R
TeamFoundationContextMenus.Commands.GoToSettingsCtrl+0 (zero), Ctrl+S
or
Ctrl+0, S
TeamFoundationContextMenus.Commands.GoToWebAccessCtrl+0 (zero), Ctrl+A
or
Ctrl+0, A
TeamFoundationContextMenus.Commands.GoToWorkItemsCtrl+0 (zero), Ctrl+W
or
Ctrl+0, W

Test

CommandsKeyboard shortcuts
Test.UseCodedUITestBuilderCtrl+, Ctrl+C
Test.UseExistingActionRecordingCtrl+, Ctrl+A

Test Explorer

CommandsKeyboard shortcuts
TestExplorer.DebugAllTestsCtrl+R, Ctrl+A
TestExplorer.DebugAllTestsInContextCtrl+R, Ctrl+T
TestExplorer.DebugLastRunCtrl+R, D
TestExplorer.RepeatLastRunCtrl+R, L
TestExplorer.RunAllTestsCtrl+R, A
TestExplorer.RunAllTestsInContextCtrl+R, T
TestExplorer.ShowTestExplorerCtrl+E, T
LiveUnitTesting.OpenTabCtrl+E, L
Test.CodeCoverageResultsCtrl+E, C

Tools

CommandsKeyboard shortcuts
Tools.AttachtoProcessCtrl+Alt+P
Tools.CodeSnippetsManagerCtrl+K, Ctrl+B
Tools.ForceGCCtrl+Shift+Alt+F12, Ctrl+Shift+Alt+F12

View

CommandsKeyboard shortcuts
View.AllWindowsShift+Alt+M
View.ArchitectureExplorerCtrl+, Ctrl+R
View.BackwardAlt+Left Arrow (Functions differently from View.NavigateBackward in Text Editor)
View.BookmarkWindowCtrl+K, Ctrl+W
View.BrowseNextCtrl+Shift+1
View.BrowsePreviousCtrl+Shift+2
View.CallHierarchyCtrl+Alt+K
View.ClassViewCtrl+Shift+C
View.ClassViewGoToSearchComboCtrl+K, Ctrl+V
View.CodeDefinitionWindowCtrl+, D
or
Ctrl+, Ctrl+D
View.CommandWindowCtrl+Alt+A
View.DataSourcesShift+Alt+D
View.DocumentOutlineCtrl+Alt+T
View.EditLabelF2
View.ErrorListCtrl+, E
or
Ctrl+, Ctrl+E
View.F#InteractiveCtrl+Alt+F
View.FindSymbolResultsCtrl+Alt+F12
View.ForwardAlt+Right Arrow (Functions differently from View.NavigateForward in Text Editor)
View.ForwardBrowseContextCtrl+Shift+7
View.FullScreenShift+Alt+Enter
View.NavigateBackwardCtrl+-
View.NavigateForwardCtrl+Shift+-
View.NextErrorCtrl+Shift+F12
View.NotificationsCtrl+W, N
or
Ctrl+W, Ctrl+N
View.ObjectBrowserCtrl+Alt+J
View.ObjectBrowserGoToSearchComboCtrl+K, Ctrl+R
View.OutputCtrl+Alt+O (letter 'O')
View.PopBrowseContextCtrl+Shift+8 (C++ only)
View.PropertiesWindowF4
View.PropertyPagesShift+F4
View.ResourceViewCtrl+Shift+E
View.ServerExplorerCtrl+Alt+S
View.ShowSmartTagShift+Alt+F10
or
Ctrl+.
View.SolutionExplorerCtrl+Alt+L
View.SQLServerObjectExplorerCtrl+, Ctrl+S
View.TaskListCtrl+, T
or
Ctrl+, Ctrl+T
View.TfsTeamExplorerCtrl+, Ctrl+M
View.ToolboxCtrl+Alt+X
View.UMLModelExplorerCtrl+, Ctrl+U
View.ViewCodeF7
View.ViewDesignerShift+F7
View.WebBrowserCtrl+Alt+R
View.ZoomInCtrl+Shift+.
View.ZoomOutCtrl+Shift+,
TestExplorer.ShowTestExplorerCtrl+E, T

Window

CommandsKeyboard shortcuts
Window.ActivateDocumentWindowEsc
Window.AddTabtoSelectionCtrl+Shift+Alt+Space
Window.CloseDocumentWindowCtrl+F4
Window.CloseToolWindowShift+Esc
Window.KeepTabOpenCtrl+Alt+Home
Window.MovetoNavigationBarCtrl+F2
Window.NextDocumentWindowCtrl+F6
Window.NextDocumentWindowNavCtrl+Tab
Window.NextPaneAlt+F6
Window.NextSplitPaneF6
Window.NextTabCtrl+Alt+PgDn
or
Ctrl+PgDn
Window.NextTabandAddtoSelectionCtrl+Shift+Alt+PgDn
Window.NextToolWindowNavAlt+F7
Window.PreviousDocumentWindowCtrl+Shift+F6
Window.PreviousDocumentWindowNavCtrl+Shift+Tab
Window.PreviousPaneShift+Alt+F6
Window.PreviousSplitPaneShift+F6
Window.PreviousTabCtrl+Alt+PgUp
or
Ctrl+PgUp
Window.PreviousTabandAddtoSelectionCtrl+Shift+Alt+PgUp
Window.PreviousToolWindowNavShift+Alt+F7
Window.QuickLaunchCtrl+Q
Window.QuickLaunchPreviousCategoryCtrl+Shift+Q
Window.ShowDockMenuAlt+-
Window.ShowEzMDIFileListCtrl+Alt+Down Arrow
Window.SolutionExplorerSearchCtrl+;
Window.WindowSearchAlt+`

Azure

CommandsKeyboard shortcuts
WindowsAzure.RetryMobileServiceScriptOperationCtrl+Num *, Ctrl+R
WindowsAzure.ShowMobileServiceScriptErrorDetailsCtrl+Num *, Ctrl+D

ADO.NET Entity Data Model Designer

CommandsKeyboard shortcuts
OtherContextMenus.MicrosoftDataEntityDesignContext.MoveProperties.DownAlt+Down Arrow
OtherContextMenus.MicrosoftDataEntityDesignContext.MoveProperties.Down5Alt+PgDn
OtherContextMenus.MicrosoftDataEntityDesignContext.MoveProperties.ToBottomAlt+End
OtherContextMenus.MicrosoftDataEntityDesignContext.MoveProperties.ToTopAlt+Home
OtherContextMenus.MicrosoftDataEntityDesignContext.MoveProperties.UpAlt+Up Arrow
OtherContextMenus.MicrosoftDataEntityDesignContext.MoveProperties.Up5Alt+PgUp
OtherContextMenus.MicrosoftDataEntityDesignContext.Refactor.RenameCtrl+R, R
OtherContextMenus.MicrosoftDataEntityDesignContext.RemovefromDiagramShift+Del
View.EntityDataModelBrowserCtrl+1
View.EntityDataModelMappingDetailsCtrl+2

Class diagram

CommandsKeyboard shortcuts
ClassDiagram.CollapseNum -
ClassDiagram.ExpandNum +
Edit.DeleteCtrl+Del
Edit.ExpandCollapseBaseTypeListShift+Alt+B
Edit.NavigateToLollipopShift+Alt+L
Edit.RemovefromDiagramDelete
View.ViewCodeEnter

Coded UI Test Editor

CommandsKeyboard shortcuts
OtherContextMenus.UITestEditorContextMenu.CopyReferencetoClipboardCtrl+C
OtherContextMenus.UITestEditorContextMenu.InsertDelayBeforeCtrl+Alt+D
OtherContextMenus.UITestEditorContextMenu.LocateAllShift+Alt+L
OtherContextMenus.UITestEditorContextMenu.LocatetheUIControlCtrl+Shift+L
OtherContextMenus.UITestEditorContextMenu.MovecodeCtrl+Alt+C
OtherContextMenus.UITestEditorContextMenu.SplitintoanewmethodCtrl+Shift+T

DataSet Editor

CommandsKeyboard shortcuts
OtherContextMenus.ColumnContext.InsertColumnInsert
OtherContextMenus.DbTableContext.Add.ColumnCtrl+L

Difference Viewer

CommandsKeyboard shortcuts
Diff.IgnoreTrimWhitespaceCtrl+, Ctrl+Spacebar
Diff.InlineViewCtrl+, Ctrl+1
Diff.LeftOnlyViewCtrl+, Ctrl+3
Diff.NextDifferenceF8
Diff.PreviousDifferenceShift+F8
Diff.RightOnlyViewCtrl+, Ctrl+4
Diff.SideBySideViewCtrl+, Ctrl+2
Diff.SwitchBetweenLeftAndRightCtrl+, Ctrl+Tab
Diff.SynchronizeViewToggleCtrl+, Ctrl+Down Arrow
EditorContextMenus.CodeWindow.AddCommentCtrl+Shift+K
EditorContextMenus.CodeWindow.EditLocalFileCtrl+Shift+P

DOM Explorer

CommandsKeyboard shortcuts
DOMExplorer.RefreshF5
DOMExplorer.SelectElementCtrl+B
DOMExplorer.ShowLayoutCtrl+Shift+I

F# interactive

CommandKeyboard shortcut
OtherContextMenus.FSIConsoleContext.CancelInteractiveEvaluationCtrl+Break

Graph Document Editor

CommandsKeyboard shortcuts
ArchitectureContextMenus.DirectedGraphContextMenu.Advanced.Add.AddNodeInsert
ArchitectureContextMenus.DirectedGraphContextMenu.Advanced.Select.BothDependenciesB
ArchitectureContextMenus.DirectedGraphContextMenu.Advanced.Select.IncomingDependenciesI
ArchitectureContextMenus.DirectedGraphContextMenu.Advanced.Select.OutgoingDependenciesO
ArchitectureContextMenus.DirectedGraphContextMenu.NewCommentCtrl+Shift+K
or
Ctrl+E, C
ArchitectureContextMenus.DirectedGraphContextMenu.RemoveDelete
ArchitectureContextMenus.DirectedGraphContextMenu.RenameF2

Graphics diagnostics

CommandsKeyboard shortcuts
Debug.Graphics.CaptureFrameNone
Graphics.MovePixelSelectionDownShift+Alt+Down Arrow
Graphics.MovePixelSelectionLeftShift+Alt+Left Arrow
Graphics.MovePixelSelectionRightShift+Alt+Right Arrow
Graphics.MovePixelSelectionUpShift+Alt+Up Arrow
Graphics.ZoomToActualSizeShift+Alt+0 (zero)
Graphics.ZoomToFitInWindowShift+Alt+9
Graphics.ZoomInShift+Alt+=
Graphics.ZoomOutShift+Alt+-

HTML Editor

CommandKeyboard shortcut
OtherContextMenus.HTMLContext.GoToControllerCtrl+M, Ctrl+G

HTML Editor Design View

CommandsKeyboard shortcuts
Edit.MoveControlDownCtrl+Down Arrow
Edit.MoveControlUpCtrl+Up Arrow
Format.BoldCtrl+B
Format.ConverttoHyperlinkCtrl+L
Format.InsertBookmarkCtrl+Shift+L
Format.ItalicCtrl+I
Format.UnderlineCtrl+U
Project.AddContentPageCtrl+M, Ctrl+C
Table.ColumntotheLeftCtrl+Alt+Left Arrow
Table.ColumntotheRightCtrl+Alt+Right Arrow
Table.RowAboveCtrl+Alt+Up Arrow
Table.RowBelowCtrl+Alt+Down Arrow
View.ASP.NETNonvisualControlsCtrl+Shift+N
View.EditMasterCtrl+M, Ctrl+M
View.NextViewCtrl+PgDn
View.ShowSmartTagShift+Alt+F10
View.ViewMarkupShift+F7
Window.PreviousTabCtrl+PgUp

HTML Editor Source View

CommandsKeyboard shortcuts
OtherContextMenus.HTMLContext.GoToControllerCtrl+M, Ctrl+G
View.NextViewCtrl+PgDn
View.SynchronizeViewsCtrl+Shift+Y
View.ViewDesignerShift+F7
Window.PreviousTabCtrl+PgUp

Layer diagram

CommandKeyboard shortcut
Edit.DeleteShift+Delete

Managed Resources Editor

CommandsKeyboard shortcuts
Edit.EditCellF2
Edit.RemoveDelete
Edit.RemoveRowCtrl+Delete
Edit.SelectionCancelEscape
Resources.AudioCtrl+4
Resources.FilesCtrl+5
Resources.IconsCtrl+3
Resources.ImagesCtrl+2
Resources.OtherCtrl+6
Resources.StringsCtrl+1

Merge Editor window

CommandsKeyboard shortcuts
TeamFoundationContextMenus.MergeContextMenu.SetFocusonLeftWindowAlt+1
TeamFoundationContextMenus.MergeContextMenu.SetFocusonResultWindowAlt+2
TeamFoundationContextMenus.MergeContextMenu.SetFocusonRightWindowAlt+3

Microsoft SQL Server Data Tools, Schema Compare

CommandsKeyboard shortcuts
SQL.SSDTSchemaCompareCompareShift+Alt+C
SQL.SSDTSchemaCompareGenerateScriptShift+Alt+G
SQL.SSDTSchemaCompareNextChangeShift+Alt+.
SQL.SSDTSchemaComparePreviousChangeShift+Alt+,
SQL.SSDTSchemaCompareStopAlt+Break
SQL.SSDTSchemaCompareWriteUpdatesShift+Alt+U

Microsoft SQL Server Data Tools, Table Designer

CommandsKeyboard shortcuts
CommitAllEditsShift+Alt+U
SQL.ExpandWildcardsCtrl+R, E
or
Ctrl+R, Ctrl+E
SQL.FullyqualifyNamesCtrl+R, Q
or
Ctrl+R, Ctrl+Q
SQL.MovetoSchemaCtrl+R, M
or
Ctrl+R, Ctrl+M
SQL.RenameF2
or
Ctrl+R, R
or
Ctrl+R, Ctrl+R
ViewFileInScriptPanelShift+Alt+PgDn

Microsoft SQL Server Data Tools, T-SQL Editor

CommandsKeyboard shortcuts
CommitAllEditsShift+Alt+U
SQL.ExecuteWithDebuggerAlt+F5
SQL.ExpandWildcardsCtrl+R, E
or
Ctrl+R, Ctrl+E
SQL.FullyqualifyNamesCtrl+R, Q
or
Ctrl+R, Ctrl+Q
SQL.MovetoSchemaCtrl+R, M
or
Ctrl+R, Ctrl+M
SQL.RenameF2
or
Ctrl+R, R
or
Ctrl+R, Ctrl+R
SQL.TSqlEditorCancelQueryAlt+Break
SQL.TSqlEditorExecuteQueryCtrl+Shift+E
SQL.TSqlEditorResultsAsFileCtrl+D, F
SQL.TSqlEditorResultsAsGridCtrl+D, G
SQL.TSqlEditorResultsAsTextCtrl+D, T
SQL.TSqlEditorShowEstimatedPlanCtrl+D, E
SQL.TSqlEditorToggleExecutionPlanCtrl+D, A
SQL.TSqlEditorToggleResultsPaneCtrl+D, R
TSqlEditorCloneQueryCtrl+Alt+N
TSqlEditorDatabaseComboShift+Alt+PgDn

Microsoft SQL Server Data Tools, T-SQL PDW Editor

CommandsKeyboard shortcuts
SQL.TSqlEditorCancelQueryAlt+Break
SQL.TSqlEditorExecuteQueryCtrl+Shift+E
SQL.TSqlEditorResultsAsFileCtrl+D, F
SQL.TSqlEditorResultsAsGridCtrl+D, G
SQL.TSqlEditorResultsAsTextCtrl+D, T
SQL.TSqlEditorShowEstimatedPlanCtrl+D, E
SQL.TSqlEditorToggleExecutionPlanCtrl+D, A
SQL.TSqlEditorToggleResultsPaneCtrl+D, R
TSqlEditorCloneQueryCtrl+Alt+N
TSqlEditorDatabaseComboShift+Alt+PgDn

Page Inspector

CommandKeyboard shortcut
PageInspector.MinimizeF12

Query Designer

CommandsKeyboard shortcuts
QueryDesigner.CancelRetrievingDataCtrl+T
QueryDesigner.CriteriaCtrl+2
QueryDesigner.DiagramCtrl+1
QueryDesigner.ExecuteSQLCtrl+R
QueryDesigner.GotoRowCtrl+G
QueryDesigner.JoinModeCtrl+Shift+J
QueryDesigner.ResultsCtrl+4
QueryDesigner.SQLCtrl+3

Query results

CommandsKeyboard shortcuts
SQL.QueryResultsNewRowAlt+End
SQL.QueryResultsRefreshShift+Alt+R
SQL.QueryResultsStopAlt+Break

Report Designer

CommandsKeyboard shortcuts
Edit.BreakLineEnter
Edit.CharLeftLeft Arrow
Edit.CharLeftExtendShift+Left Arrow
Edit.CharRightRight Arrow
Edit.CharRightExtendShift+Right Arrow
Edit.InsertTabTab
Edit.LineDownDown Arrow
Edit.LineDownExtendShift+Down Arrow
Edit.LineUpUp Arrow
Edit.LineUpExtendShift+Up Arrow
Edit.MoveControlDownCtrl+Down Arrow
Edit.MoveControlLeftCtrl+Left Arrow
Edit.MoveControlRightCtrl+Right Arrow
Edit.MoveControlUpCtrl+Up Arrow
Edit.SelectionCancelEsc
Edit.SizeControlDownCtrl+Shift+Down Arrow
Edit.SizeControlLeftCtrl+Shift+Left Arrow
Edit.SizeControlRightCtrl+Shift+Right Arrow
Edit.SizeControlUpCtrl+Shift+Up Arrow
Edit.TabLeftShift+Tab
View.ReportDataCtrl+Alt+D

Sequence diagram

CommandsKeyboard shortcuts
ArchitectureDesigner.Sequence.NavigateToCodeF12
Edit.DeleteShift+Del

Settings Designer

CommandsKeyboard shortcuts
Edit.EditCellF2
Edit.RemoveRowCtrl+Delete
Edit.SelectionCancelEsc
View.ViewCodeF7

Solution Explorer

CommandKeyboard shortcut
ClassViewContextMenus.ClassViewProject.View.ViewinPageInspectorCtrl+K, Ctrl+G

Team Explorer

CommandKeyboard Shortcut
Edit.DeleteDelete
File.RenameF2
TeamFoundationContextMenus.Commands.GoToTeamExplorerNavigationAlt+Home
TeamFoundationContextMenus.Commands.GoToTeamExplorerNextSectionContentAlt+Down Arrow
TeamFoundationContextMenus.Commands.GoToTeamExplorerPageContentAlt+0 (zero)
TeamFoundationContextMenus.Commands.GoToTeamExplorerPreviousSectionContentAlt+Up Arrow
TeamFoundationContextMenus.Commands.GoToTeamExplorerSection1ContentAlt+1
TeamFoundationContextMenus.Commands.GoToTeamExplorerSection2ContentAlt+2
TeamFoundationContextMenus.Commands.GoToTeamExplorerSection3ContentAlt+3
TeamFoundationContextMenus.Commands.GoToTeamExplorerSection4ContentAlt+4
TeamFoundationContextMenus.Commands.GoToTeamExplorerSection5ContentAlt+5
TeamFoundationContextMenus.Commands.GoToTeamExplorerSection6ContentAlt+6
TeamFoundationContextMenus.Commands.GoToTeamExplorerSection7ContentAlt+7
TeamFoundationContextMenus.Commands.GoToTeamExplorerSection8ContentAlt+8
TeamFoundationContextMenus.Commands.GoToTeamExplorerSection9ContentAlt+9
TeamFoundationContextMenus.Commands.TeamExplorerNavigateBackwardAlt+Left Arrow
TeamFoundationContextMenus.Commands.TeamExplorerNavigateForwardAlt+Right Arrow
TeamFoundationContextMenus.MyWorkPageInProgress.TfsContextMyWorkPageCreateCopyWIShift+Alt+C
TeamFoundationContextMenus.MyWorkPageInProgress.TfsContextMyWorkPageNewLinkedWIShift+Alt+L
View.RefreshF5

Test Explorer

CommandKeyboard shortcut
TestExplorer.OpenTestF12

Text Editor

CommandsKeyboard shortcuts
Edit.BreakLineEnter
or
Shift+Enter
Edit.CharLeftLeft Arrow
Edit.CharLeftExtendShift+Left Arrow
Edit.CharLeftExtendColumnShift+Alt+Left Arrow
Edit.CharRightRight Arrow
Edit.CharRightExtendShift+Right Arrow
Edit.CharRightExtendColumnShift+Alt+Right Arrow
Edit.ClearBookmarksCtrl+K, Ctrl+L
Edit.CollapseAllOutliningCtrl+M, Ctrl+A
Edit.CollapseCurrentRegionCtrl+M, Ctrl+S
Edit.CollapseTagCtrl+M, Ctrl+T
Edit.CollapseToDefinitionsCtrl+M, Ctrl+O (letter 'O')
Edit.ContractSelectionShift+Alt+- (non-C++ only)
Edit.CommentSelectionCtrl+K, Ctrl+C
Edit.CompleteWordCtrl+Space
or
Alt+Right Arrow
Edit.CopyParameterTipCtrl+Shift+Alt+C
Edit.DecreaseFilterLevelAlt+,
Edit.DeleteBackwardsBackspace
or
Shift+Bkspce
Edit.DeleteHorizontalWhiteSpaceCtrl+K, Ctrl+
Edit.DocumentEndCtrl+End
Edit.DocumentEndExtendCtrl+Shift+End
Edit.DocumentStartCtrl+Home
Edit.DocumentStartExtendCtrl+Shift+Home
Edit.ExpandAllOutliningCtrl+M, Ctrl+X
Edit.ExpandCurrentRegionCtrl+M, Ctrl+E
Edit.ExpandSelectionShift+Alt+= (non-C++ only)
Edit.ExpandSelectiontoContainingBlockShift+Alt+]
Edit.FormatDocumentCtrl+K, Ctrl+D
Edit.FormatSelectionCtrl+K, Ctrl+F
Edit.GotoAllCtrl+T
or
Ctrl+,
Edit.GotoBraceCtrl+]
Edit.GotoBraceExtendCtrl+Shift+]
Edit.GotoRecentCtrl+T,R
Edit.GotoNextIssueinFileAlt+PgDn
Edit.GotoPreviousIssueinFileAlt+PgUp
Edit.HideSelectionCtrl+M, Ctrl+H
Edit.IncreaseFilterLevelAlt+.
Edit.IncrementalSearchCtrl+I
Edit.InsertCaretsatAllMatchingShift+Alt+;
Edit.InsertNextMatchingCaretShift+Alt+.
Edit.InsertTabTab
Edit.LineCutCtrl+L
Edit.LineDeleteCtrl+Shift+L
Edit.LineDownDown Arrow
Edit.LineDownExtendShift+Down Arrow
Edit.LineDownExtendColumnShift+Alt+Down Arrow
Edit.LineEndEnd
Edit.LineEndExtendShift+End
Edit.LineEndExtendColumnShift+Alt+End
Edit.LineOpenAboveCtrl+Enter
Edit.LineOpenBelowCtrl+Shift+Enter
Edit.LineStartHome
Edit.LineStartExtendShift+Home
Edit.LineStartExtendColumnShift+Alt+Home
Edit.LineTransposeShift+Alt+T
Edit.LineUpUp Arrow
Edit.LineUpExtendShift+Up Arrow
Edit.LineUpExtendColumnShift+Alt+Up Arrow
Edit.ListMembersCtrl+J
Edit.MakeLowercaseCtrl+U
Edit.MakeUppercaseCtrl+Shift+U
Edit.MoveSelectedLinesDownAlt+Down Arrow
Edit.MoveSelectedLinesUpAlt+Up Arrow
Edit.NextHighlightedReferenceCtrl+Shift+Down Arrow
Edit.OvertypeModeInsert
Edit.PageDownPgDn
Edit.PageDownExtendShift+PgDn
Edit.PageUpPgUp
Edit.PageUpExtendShift+PgUp
Edit.ParameterInfoCtrl+Shift+Spacebar
Edit.PasteParameterTipCtrl+Shift+Alt+P
Edit.PeekBackwardCtrl+Alt+-
Edit.PeekDefinitionAlt+F12
Edit.PeekForwardCtrl+Alt+=
Edit.PreviousHighlightedReferenceCtrl+Shift+Up Arrow
Edit.QuickInfoCtrl+K, Ctrl+I
Edit.ReverseIncrementalSearchCtrl+Shift+I
Edit.ScrollLineDownCtrl+Down Arrow
Edit.ScrollLineUpCtrl+Up Arrow
Edit.SelectCurrentWordCtrl+W
Edit.SelectionCancelEscape
Edit.SelectToLastGoBackCtrl+=
Edit.ShowCodeLensMenuCtrl+K, Ctrl+`
Edit.ShowNavigateMenuAlt+`
Edit.StopHidingCurrentCtrl+M, Ctrl+U
Edit.StopOutliningCtrl+M, Ctrl+P
Edit.SwapAnchorCtrl+K, Ctrl+A
Edit.TabLeftShift+Tab
Edit.ToggleAllOutliningCtrl+M, Ctrl+L
Edit.ToggleBookmarkCtrl+K, Ctrl+K
Edit.ToggleCompletionModeCtrl+Alt+Space
Edit.ToggleOutliningExpansionCtrl+M, Ctrl+M
Edit.ToggleTaskListShortcutCtrl+K, Ctrl+H
Edit.ToggleWordWrapCtrl+E, Ctrl+W
Edit.UncommentSelectionCtrl+K, Ctrl+U
Edit.ViewBottomCtrl+PgDn
Edit.ViewBottomExtendCtrl+Shift+PgDn
Edit.ViewTopCtrl+PgUp
Edit.ViewTopExtendCtrl+Shift+PgUp
Edit.ViewWhiteSpaceCtrl+R, Ctrl+W
Edit.WordDeleteToEndCtrl+Delete
Edit.WordDeleteToStartCtrl+Backspace
Edit.WordNextCtrl+Right Arrow
Edit.WordNextExtendCtrl+Shift+Right Arrow
Edit.WordNextExtendColumnCtrl+Shift+Alt+Right Arrow
Edit.WordPreviousCtrl+Left Arrow
Edit.WordPreviousExtendCtrl+Shift+Left Arrow
Edit.WordPreviousExtendColumnCtrl+Shift+Alt+Left Arrow
Edit.WordTransposeCtrl+Shift+T
EditorContextMenus.CodeWindow.ExecuteInInteractiveAlt+Enter
EditorContextMenus.CodeWindow.ExecuteLineInInteractiveAlt+'
OtherContextMenus.HTMLContext.ViewinPageInspectorCtrl+K, Ctrl+G
TeamFoundationContextMenus.Annotate.TfsAnnotateMoveNextRegionAlt+PgDn
TeamFoundationContextMenus.Annotate.TfsAnnotateMovePreviousRegionAlt+PgUp

Keyboard Shortcut For Comment In Visual Studio Mac

UML activity diagram

CommandKeyboard shortcut
Edit.DeleteShift+Del

UML class diagram

CommandKeyboard shortcut
Edit.DeleteFromModelShift+Del

UML component diagram

CommandKeyboard shortcut
Edit.DeleteFromModelShift+Del

UML use case diagram

CommandKeyboard shortcut
Edit.DeleteFromModelShift+Del

VC Accelerator Editor

CommandsKeyboard shortcuts
Edit.NewAcceleratorInsert
Edit.NextKeyTypedCtrl+W

VC Dialog Editor

CommandsKeyboard shortcuts
Edit.MoveControlDownDown Arrow
Edit.MoveControlLeftLeft Arrow
Edit.MoveControlRightRight Arrow
Edit.MoveControlUpUp Arrow
Edit.ScrollColumnLeftCtrl+Left Arrow
Edit.ScrollColumnRightCtrl+Right Arrow
Edit.ScrollLineDownCtrl+Down Arrow
Edit.ScrollLineUpCtrl+Up Arrow
Edit.SizeControlDownShift+Down Arrow
Edit.SizeControlLeftShift+Left Arrow
Edit.SizeControlRightShift+Right Arrow
Edit.SizeControlUpShift+Up Arrow
Format.AlignBottomsCtrl+Shift+Down Arrow
Format.AlignCentersShift+F9
Format.AlignLeftsCtrl+Shift+Left Arrow
Format.AlignMiddlesF9
Format.AlignRightsCtrl+Shift+Right Arrow
Format.AlignTopsCtrl+Shift+Up Arrow
Format.ButtonBottomCtrl+B
Format.ButtonRightCtrl+R
Format.CenterHorizontalCtrl+Shift+F9
Format.CenterVerticalCtrl+F9
Format.CheckMnemonicsCtrl+M
Format.SizetoContentShift+F7
Format.SpaceAcrossAlt+Right Arrow
or
Alt+Left Arrow
Format.SpaceDownAlt+Up Arrow
or
Alt+Down Arrow
Format.TabOrderCtrl+D
Format.TestDialogCtrl+T
Format.ToggleGuidesCtrl+G

VC Image Editor

CommandsKeyboard shortcuts
Image.AirbrushToolCtrl+A
Image.BrushToolCtrl+B
Image.CopyandOutlineSelectionCtrl+Shift+U
Image.DrawOpaqueCtrl+J
Image.EllipseToolAlt+P
Image.EraseToolCtrl+Shift+I
Image.FilledEllipseToolCtrl+Shift+Alt+P
Image.FilledRectangleToolCtrl+Shift+Alt+R
Image.FilledRoundedRectangleToolCtrl+Shift+Alt+W
Image.FillToolCtrl+F
Image.FlipHorizontalCtrl+H
Image.FlipVerticalShift+Alt+H
Image.LargerBrushCtrl+=
Image.LineToolCtrl+L
Image.MagnificationToolCtrl+M
Image.MagnifyCtrl+Shift+M
Image.NewImageTypeInsert
Image.NextColorCtrl+]
or
Ctrl+Right Arrow
Image.NextRightColorCtrl+Shift+]
or
Ctrl+Shift+Right Arrow
Image.OutlinedEllipseToolShift+Alt+P
Image.OutlinedRectangleToolShift+Alt+R
Image.OutlinedRoundedRectangleToolShift+Alt+W
Image.PencilToolCtrl+I
Image.PreviousColorCtrl+[
or
Ctrl+Left Arrow
Image.PreviousRightColorCtrl+Shift+[
or
Ctrl+Shift+Left Arrow
Image.RectangleSelectionToolShift+Alt+S
Image.RectangleToolAlt+R
Image.Rotate90DegreesCtrl+Shift+H
Image.RoundedRectangleToolAlt+W
Image.ShowGridCtrl+Alt+S
Image.ShowTileGridCtrl+Shift+Alt+S
Image.SmallBrushCtrl+.
Image.SmallerBrushCtrl+-
Image.TextToolCtrl+T
Image.UseSelectionasBrushCtrl+U
Image.ZoomInCtrl+Shift+.
or
Ctrl+Up Arrow
Image.ZoomOutCtrl+Shift+,
or
Ctrl+Down Arrow

VC String Editor

CommandKeyboard shortcut
Edit.NewStringInsert

View Designer

CommandsKeyboard shortcuts
QueryDesigner.CancelRetrievingDataCtrl+T
QueryDesigner.CriteriaCtrl+2
QueryDesigner.DiagramCtrl+1
QueryDesigner.ExecuteSQLCtrl+R
QueryDesigner.GotoRowCtrl+G
QueryDesigner.JoinModeCtrl+Shift+J
QueryDesigner.ResultsCtrl+4
QueryDesigner.SQLCtrl+3

Visual Studio

CommandKeyboard shortcut
OtherContextMenus.ORDesignerContext.HideMethodsPaneCtrl+1

Windows Forms Designer

CommandsKeyboard shortcuts
Edit.BreakLineEnter
Edit.CharLeftLeft Arrow
Edit.CharLeftExtendShift+Left Arrow
Edit.CharRightRight Arrow
Edit.CharRightExtendShift+Right Arrow
Edit.DocumentEndEnd
Edit.DocumentEndExtendShift+End
Edit.DocumentStartHome
Edit.DocumentStartExtendShift+Home
Edit.InsertTabTab
Edit.LineDownDown Arrow
Edit.LineDownExtendShift+Up Arrow
Edit.LineUpUp Arrow
Edit.LineUpExtendShift+Down Arrow
Edit.MoveControlDownCtrl+Down Arrow
Edit.MoveControlLeftCtrl+Left Arrow
Edit.MoveControlRightCtrl+Right Arrow
Edit.MoveControlUpCtrl+Up Arrow
Edit.SelectionCancelEscape
Edit.SizeControlDownCtrl+Shift+Down Arrow
Edit.SizeControlLeftCtrl+Shift+Left Arrow
Edit.SizeControlRightCtrl+Shift+Right Arrow
Edit.SizeControlUpCtrl+Shift+Up Arrow
Edit.TabLeftShift+Tab

Work Item Editor

CommandsKeyboard shortcuts
Edit.CreateCopyofWorkItemShift+Alt+C
Edit.RefreshWorkItemF5
Team.NewLinkedWorkItemShift+Alt+L

Work Item Query View

CommandsKeyboard shortcuts
Edit.CreateCopyofWorkItemShift+Alt+C
Edit.IndentShift+Alt+Right Arrow
Edit.OutdentShift+Alt+Left Arrow
Team.NewLinkedWorkItemShift+Alt+L
Team.RefreshF5
Window.ToggleShift+Alt+V

Work Item Results View

Block Comment Visual Studio Shortcut

CommandsKeyboard shortcuts
Edit.CreateCopyofWorkItemShift+Alt+C
Edit.IndentShift+Alt+Right Arrow
Edit.OutdentShift+Alt+Left Arrow
Team.GotoNextWorkItemShift+Alt+N
Team.GotoPreviousWorkItemShift+Alt+P
Team.NewLinkedWorkItemShift+Alt+L
Team.RefreshF5
Window.ToggleShift+Alt+V

Workflow Designer

CommandsKeyboard shortcuts
Edit.CompleteWordCtrl+K, W
or
Ctrl+K, Ctrl+W
or
Ctrl+Spacebar
or
Alt+Right Arrow
Edit.DecreaseFilterLevelAlt+,
Edit.IncreaseFilterLevelAlt+.
Edit.ListMembersCtrl+K, L
or
Ctrl+K, Ctrl+L
or
Ctrl+J
Edit.ParameterInfoCtrl+K, P
or
Ctrl+K, Ctrl+P
or
Ctrl+Shift+Spacebar
Edit.QuickInfoCtrl+K, I
or
Ctrl+K, Ctrl+I
WorkflowDesigner.CollapseCtrl+E, Ctrl+C
or
Ctrl+E, C
WorkflowDesigner.CollapseAllor
WorkflowDesigner.ConnectNodesCtrl+E, Ctrl+F
or
Ctrl+E, F
WorkflowDesigner.CreateVariableCtrl+E, Ctrl+N
or
Ctrl+E, N
WorkflowDesigner.ExpandAllCtrl+E, Ctrl+X
or
Ctrl+E, X
WorkflowDesigner.ExpandInPlaceCtrl+E, Ctrl+E
or
Ctrl+E, E
WorkflowDesigner.GoToParentCtrl+E, Ctrl+P
or
Ctrl+E, P
WorkflowDesigner.MoveFocusCtrl+E, Ctrl+M
or
Ctrl+E, M
WorkflowDesigner.NavigateThroughDesignerCtrl+Alt+F6
WorkflowDesigner.RestoreCtrl+E, Ctrl+R
or
Ctrl+E, R
WorkflowDesigner.ShowHideArgumentDesignerCtrl+E, Ctrl+A
or
Ctrl+E, A
WorkflowDesigner.ShowHideImportsDesignerCtrl+E, Ctrl+I
or
Ctrl+E, I
WorkflowDesigner.ShowHideOverviewMapCtrl+E, Ctrl+O (letter 'O')
or
Ctrl+E, O
WorkflowDesigner.ShowHideVariableDesignerCtrl+E, Ctrl+V
or
Ctrl+E, V
WorkflowDesigner.ToggleSelectionCtrl+E, Ctrl+S
or
Ctrl+E, S
WorkflowDesigner.ZoomInCtrl+Num +
WorkflowDesigner.ZoomOutCtrl+Num -

XAML UI Designer

CommandsKeyboard shortcuts
Design.FitAllCtrl+0 (zero)
Design.ShowHandlesF9
Design.ZoomInCtrl+Alt+=
Design.ZoomOutCtrl+Alt+-
Designer optionsCtrl+Shift+;
Format.EditTextF2
Format.ResetLayout.AllCtrl+Shift+R
Run project codeCtrl+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.EdgeLeftMoveLeftCtrl+Shift+,
View.EdgeLeftMoveRightCtrl+Shift+.
View.EdgeRightMoveLeftCtrl+Shift+Alt+,
View.EdgeRightMoveRightCtrl+Shift+Alt+.
View.ShowPropertyMarkerMenuCtrl+Spacebar

XML (Text) Editor

CommandsKeyboard shortcuts
XML.StartXSLTDebuggingAlt+F5
XML.StartXSLTWithoutDebuggingCtrl+Alt+F5

XML Schema Designer

CommandsKeyboard shortcuts
GraphView.BottomtoTopAlt+Up Arrow
GraphView.LefttoRightAlt+Right Arrow
GraphView.RighttoLeftAlt+Left Arrow
GraphView.ToptoBottomAlt+Down Arrow
OtherContextMenus.GraphView.RemovefromWorkspaceDelete
XsdDesigner.ShowContentModelViewCtrl+2
XsdDesigner.ShowGraphViewCtrl+3
XsdDesigner.ShowStartViewCtrl+1

See also