===================================================================== Microsoft Visual Studio 2017 (Most used shortcuts) keyboard shortcuts ===================================================================== First published at 5/17/2018 on https://defkey.com/microsoft-visual-studio-most-used-shortcuts Microsoft Visual Studio is an integrated development environment used to develop programs, web sites, web services and mobile applications. It includes a code editor that supports automatic code completion (IntelliSense). Visual Studio supports 36 different languages including C, C++, Visual Basic .NET, C#, JavaScript, XML, HTML and CSS. Microsoft Visual Studio 2017 (Most used shortcuts) has 121 shortcuts and we have listed all of them below. Information ----------- You can access frequently used commands in Visual Studio by choosing these default keyboard shortcuts. For a complete list of commands that have default shortcuts, please see All Visual Studio keyboard shortcuts. Shortcuts are global, unless specified otherwise. Build ----- Ctrl + Shift + B Build.BuildSolution Ctrl + Break Build.Cancel Ctrl + F7 Build.Compile Alt + F11 Build.RunCodeAnalysisonSolution Debug ----- Ctrl + B Debug.BreakatFunction Ctrl + Alt + Break Debug.BreakAll Ctrl + Shift + F9 Debug.DeleteAllBreakpoints Ctrl + Alt + E Debug.Exceptions Ctrl + Alt + Q Debug.QuickWatch Shift + F9 Debug.QuickWatch Ctrl + Shift + F5 Debug.Restart Ctrl + F10 Debug.RunToCursor Ctrl + Shift + F10 Debug.SetNextStatement F5 Debug.Start Ctrl + F5 Debug.StartWithoutDebugging F11 Debug.StepInto Shift + F11 Debug.StepOut F10 Debug.StepOver Shift + F5 Debug.StopDebugging F9 Debug.ToggleBreakpoint Edit ---- Enter [Text Editor, Report Designer, Windows Forms Designer] Edit.BreakLine Shift + Enter [Text Editor, Report Designer, Windows Forms Designer] Edit.BreakLine Ctrl + M then Ctrl + O [Text Editor] Edit.CollapsetoDefinitions Ctrl + K then Ctrl + C [Text Editor] Edit.CommentSelection Alt + Right arrow [Text Editor, Workflow Designer] Edit.CompleteWord Ctrl + Space [Text Editor, Workflow Designer] Edit.CompleteWord Ctrl + K then W [Workflow Designer] Edit.CompleteWord Ctrl + K then Ctrl + W [Workflow Designer] Edit.CompleteWord Ctrl + C Edit.Copy Ctrl + Insert Edit.Copy Ctrl + X Edit.Cut Shift + Del Edit.Cut Del [Global, Team Explorer] Edit.Delete Shift + Del [Sequence Diagram, UML Activity Diagram, Layer Diagram] Edit.Delete Ctrl + Del [Class Diagram] Edit.Delete Ctrl + F Edit.Find Shift + F12 Edit.FindAllReferences Ctrl + Shift + F Edit.FindinFiles F3 Edit.FindNext Ctrl + F3 Edit.FindNextSelected Ctrl + K then Ctrl + D [Text Editor] Edit.FormatDocument Ctrl + K then Ctrl + F [Text Editor] Edit.FormatSelection Ctrl + G Edit.GoTo Ctrl + F12 Edit.GoToDeclaration F12 Edit.GoToDefinition Ctrl + D Edit.GoToFindCombo F8 Edit.GoToNextLocation Ctrl + K then Ctrl + X Edit.InsertSnippet Tab [Report Designer, Windows Forms Designer, Text Editor] Edit.InsertTab Ctrl + L [Text Editor] Edit.LineCut Shift + Alt + Down arrow [Text Editor] Edit.LineDownExtendColumn Ctrl + Enter [Text Editor] Edit.LineOpenAbove Ctrl + J [Text Editor, Workflow Designer] Edit.ListMembers Ctrl + K then Ctrl + L [Workflow Designer] Edit.CompleteWord Ctrl + K then L [Workflow Designer] Edit.CompleteWord Ctrl + , Edit.NavigateTo Ctrl + Shift + G Edit.OpenFile Insert [Text Editor] Edit.OvertypeMode Ctrl + Shift + Space [Text Editor, Workflow Designer] Edit.ParameterInfo Ctrl + K then Ctrl + P [Workflow Designer] Edit.ParameterInfo Ctrl + K then P [Workflow Designer] Edit.ParameterInfo Ctrl + V Edit.Paste Shift + Insert Edit.Paste Alt + F12 [Text Editor] Edit.PeekDefinition Ctrl + Y Edit.Redo Shift + Alt + Backspace Edit.Redo Ctrl + Shift + Z Edit.Redo Ctrl + H Edit.Replace Ctrl + A Edit.SelectAll Ctrl + W [Text Editor] Edit.SelectCurrentWord Esc [Text Editor, Report Designer, Settings Designer, Windows Forms Designer, Managed Resources Editor] Edit.SelectionCancel Ctrl + K then Ctrl + S Edit.SurroundWith Shift + Tab [Text Editor, Report Designer, Windows Forms Editor] Edit.TabLeft Ctrl + M then Ctrl + L [Text Editor] Edit.ToggleAllOutlining Ctrl + K then Ctrl + K [Text Editor] Edit.ToggleBookmark Ctrl + Alt + Space [Text Editor] Edit.ToggleCompletionMode Ctrl + M then Ctrl + M [Text Editor] Edit.ToggleOutliningExpansion Ctrl + K then Ctrl + U [Text Editor] Edit.UncommentSelection Ctrl + Z Edit.Undo Alt + Backspace Edit.Undo Ctrl + Del Edit.WordDeleteToEnd Ctrl + Backspace Edit.WordDeleteToStart File ---- Alt + F4 File.Exit Ctrl + N File.NewFile Ctrl + Shift + N File.NewProject Shift + Alt + N File.NewWebSite Ctrl + O File.OpenFile Ctrl + Shift + O File.OpenProject Shift + Alt + O File.OpenWebSite F2 [Team Explorer] File.Rename Ctrl + Shift + S File.SaveAll Ctrl + S File.SaveSelectedItems Ctrl + Shift + W File.ViewinBrowser Project ------- Shift + Alt + A Project.AddExistingItem Ctrl + Shift + A Project.AddNewItem Refactor -------- Ctrl + R then Ctrl + M Refactor.ExtractMethod Tools ----- Ctrl + Alt + P Tools.AttachtoProcess View ---- Ctrl + Shift + C View.ClassView F2 View.EditLabel Ctrl + \ then Ctrl + E View.ErrorList Ctrl + \ then E View.ErrorList Ctrl + - View.NavigateBackward Ctrl + Shift + - View.NavigateForward Ctrl + Alt + J View.ObjectBrowser Ctrl + Alt + O View.Output F4 View.PropertiesWindow F5 [Team Explorer, Team Foundation Build Detail Editor] View.Refresh Ctrl + Alt + S View.ServerExplorer Ctrl + . View.ShowSmartTag Shift + Alt + F10 [Global, HTML Editor Design View] View.ShowSmartTag Ctrl + Alt + L View.SolutionExplorer Ctrl + \ then Ctrl + M View.TfsTeamExplorer Ctrl + Alt + X View.Toolbox Enter [Class Diagram] View.ViewCode F7 [Settings Designer] View.ViewCode Shift + F7 [HTML Editor Source View] View.ViewDesigner Window ------ Esc Window.ActivateDocumentWindow Ctrl + F4 Window.CloseDocumentWindow Ctrl + F6 Window.NextDocumentWindow Ctrl + Tab Window.NextDocumentWindowNav F6 Window.NextSplitPane Recommended  articles --------------------- Microsoft has a productivity guide for Visual Studio 2017 developers here. Identify and customize keyboard shortcuts in Visual Studio. Source: Microsoft documentation Last modified on (UTC): Monday, November 11, 2019 Defkey © All rights reserved.