Microsoft Visual Studio 2017 (Most used shortcuts) keyboard shortcuts

Visual Studio shortcuts are quite extensive. Here you'll find most used, generally most useful shortcuts. For all available shortcuts, take look at Visual Studio link below.

Microsoft Visual Studio 2017 (Most used shortcuts)
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.
Ctrl + ↑   Shift + B

Build.BuildSolution

Ctrl + Break

Build.Cancel

Ctrl + F7

Build.Compile

Alt + F11

Build.RunCodeAnalysisonSolution

Ctrl + B

Debug.BreakatFunction

Ctrl + Alt + Break

Debug.BreakAll

Ctrl + ↑   Shift + F9

Debug.DeleteAllBreakpoints

Ctrl + Alt + E

Debug.Exceptions

Ctrl + Alt + Q

Debug.QuickWatch

or ↑   Shift + F9
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

Advertisement
⤶ Enter

[Text Editor, Report Designer, Windows Forms Designer] Edit.BreakLine

or ↑   Shift + ⤶ Enter
Ctrl + M then Ctrl + O

[Text Editor] Edit.CollapsetoDefinitions

Ctrl + K then Ctrl + C

[Text Editor] Edit.CommentSelection

Alt +

[Text Editor, Workflow Designer] Edit.CompleteWord

or Ctrl + Space
Ctrl + K then W

[Workflow Designer] Edit.CompleteWord

or Ctrl + K then Ctrl + W
Ctrl + C

Edit.Copy

or Ctrl + Insert
Ctrl + X

Edit.Cut

or ↑   Shift + Del
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 +

[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

or Ctrl + K then L
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

or Ctrl + K then P
Ctrl + V

Edit.Paste

or ↑   Shift + Insert
Alt + F12

[Text Editor] Edit.PeekDefinition

Ctrl + Y

Edit.Redo

or ↑   Shift + Alt + ⬅ Backspace
or Ctrl + ↑   Shift + Z
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

or Alt + ⬅ Backspace
Ctrl + Del

Edit.WordDeleteToEnd

Ctrl + ⬅ Backspace

Edit.WordDeleteToStart

Advertisement
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

↑   Shift + Alt + A

Project.AddExistingItem

Ctrl + ↑   Shift + A

Project.AddNewItem

Advertisement
Ctrl + R then Ctrl + M

Refactor.ExtractMethod

Ctrl + Alt + P

Tools.AttachtoProcess

Ctrl + ↑   Shift + C

View.ClassView

F2

View.EditLabel

Ctrl + \ then Ctrl + E

View.ErrorList

or Ctrl + \ then E
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

Esc

Window.ActivateDocumentWindow

Ctrl + F4

Window.CloseDocumentWindow

Ctrl + F6

Window.NextDocumentWindow

Ctrl + ⭾ Tab

Window.NextDocumentWindowNav

F6

Window.NextSplitPane

Advertisement

Share this page on:

Program information

Program name: Microsoft Visual Studio 2017 (Most used shortcuts) (Developer tools)

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.

Web page: https://www.visualstudio.com


Similar programs


  1. Fortnite (PC)Fortnite (PC)
    18137    2
  2. SketchUpSketchUp
    13115   
  3. PlayerUnknown's BattlegPlayerUnknown's Battleg
    11409    2
  4. Keyboard symbolsKeyboard symbols
    8491   
  5. AMD Radeon ReLiveAMD Radeon ReLive
    7694    2
  6. Total CommanderTotal Commander
    7303   
More keyboard shortcuts...

Advertisement

Advertisement

  Subscribe to our mailing list!

Useful technology tips and keyboard shortcuts will appear in your inbox.

Your email is kept private and we don't spam.

What is your favorite Microsoft Visual Studio 2017 (Most used shortcuts) hotkey? Do you have any useful tips for program? Let other users know below.