1. Home
  2. Keyboard Shortcuts
  3. Visual Studio
Code Editors & IDEs

Visual Studio Keyboard Shortcuts

All 412 Visual Studio keyboard shortcuts in one place, so you can develop with microsoft tools faster

Visual Studio keyboard shortcuts

Visual Studio, from Microsoft, is a code editors & IDEs application designed to develop with microsoft tools. It has become a go-to choice for professionals and enthusiasts alike.

For Visual Studio users, mastering keyboard shortcuts is one of the fastest ways to boost productivity. Quick access to tools and commands keeps the creative flow unbroken.

With support for macOS and Windows, Visual Studio reaches a wide range of users. This keyboard shortcuts guide covers the key combinations for each supported platform.

macOSWindows 412 SHORTCUTS 42 CATEGORIES
VISIT VISUAL STUDIO OFFICIAL WEBSITE ↗
SHOW SHORTCUTS FOR:
Jump to Section (42 sections)

Build5 SHORTCUTS

Build solution N/ACtrl+Shift+B
Cancel N/ACtrl+Break
Compile N/ACtrl+F7
Run code analysis on solution N/AAlt+F11
Build selection N/ACtrl+B

Debug66 SHORTCUTS

Break at function N/ACtrl+B
Break all N/ACtrl+Alt+Break
Delete all breakpoints N/ACtrl+Shift+F9
Exceptions N/ACtrl+Alt+E
Quick watch N/ACtrl+Alt+Q
Restart N/ACtrl+Shift+F5
Run to cursor N/ACtrl+F10
Set next statement N/ACtrl+Shift+F10
Start N/AF5
Start without debugging N/ACtrl+F5
Step into N/AF11
Step out N/AShift+F11
Step over N/AF10
Stop debugging N/AShift+F5
Toggle breakpoint N/AF9
Apply code changes N/AAlt+F10
Attach to process N/ACtrl+Alt+P
Autos N/ACtrl+Alt+V+A
Breakpoints N/ACtrl+Alt+B
Call stack N/ACtrl+Alt+C
Launch diagnostics N/AAlt+F2
Disassembly N/ACtrl+Alt+D
Dom explorer N/ACtrl+Alt+V+D
Enable breakpoint N/ACtrl+F9
Function breakpoint N/ACtrl+K+B
Go to previous call or IntelliTrace event N/ACtrl+Shift+F11
Start diagnostics N/AAlt+F5
Immediate N/ACtrl+Alt+I
IntelliTrace calls N/ACtrl+Alt+Y+T
IntelliTrace events N/ACtrl+Alt+Y+F
JavaScript console N/ACtrl+Alt+V+C
Locals N/ACtrl+Alt+V+L
Process combo N/ACtrl+5
Stack frame combo N/ACtrl+7
Thread combo N/ACtrl+6
Toggle current thread flagged state N/ACtrl+8
Toggle flagged threads N/ACtrl+9
Memory 1 N/ACtrl+Alt+M+1
Memory 2 N/ACtrl+Alt+M+2
Memory 3 N/ACtrl+Alt+M+3
Memory 4 N/ACtrl+Alt+M+4
Modules N/ACtrl+Alt+U
Parallel stacks N/ACtrl+Shift+D+S
Parallel watch 1 N/ACtrl+Shift+D+1
Parallel watch 2 N/ACtrl+Shift+D+2
Parallel watch 3 N/ACtrl+Shift+D+3
Parallel watch 4 N/ACtrl+Shift+D+4
Processes N/ACtrl+Alt+Z
Reattach to process N/AAlt+Shift+P
Refresh Windows app N/ACtrl+Shift+R
Registers N/ACtrl+Alt+G
Show call stack on code map N/ACtrl+Shift+`
Show next statement N/AAlt+Multiply
Start Windows Phone application analysis N/AAlt+F1
Step into current process N/ACtrl+Alt+F11
Step into specific N/AAlt+Shift+F11
Step out current process N/ACtrl+Alt+Shift+F11
Step over current process N/ACtrl+Alt+F10
Stop performance analysis N/AAlt+Shift+F2
Tasks N/ACtrl+Shift+D+K
Threads N/ACtrl+Alt+H
Toggle disassembly N/ACtrl+F11
Watch 1 N/ACtrl+Alt+W+1
Watch 2 N/ACtrl+Alt+W+2
Watch 3 N/ACtrl+Alt+W+3
Watch 4 N/ACtrl+Alt+W+4

Debugger context menus3 SHORTCUTS

Delete N/AAlt+F9+D
Go to disassembly N/AAlt+F9+A
Go to source code N/AAlt+F9+S

Edit48 SHORTCUTS

Break line N/AEnter
Collapse to definitions N/ACtrl+M+O
Comment selection N/ACtrl+K+C
Complete word N/AAlt+Right
Copy N/ACtrl+C
Cut N/ACtrl+X
Delete N/ADelete
Find N/ACtrl+F
Find all references N/AShift+F12
Find in files N/ACtrl+Shift+F
Find next N/AF3
Find next selected N/ACtrl+F3
Format document N/ACtrl+K+D
Format selection N/ACtrl+K+F
Go to N/ACtrl+G
Go to declaration N/ACtrl+F12
Go to definition N/AF12
Go to find combo N/ACtrl+D
Go to next location N/AF8
Insert snippet N/ACtrl+K+X
Insert tab N/ATab
Line cut N/ACtrl+L
Line down extend column N/AAlt+Shift+Down
Line open above N/ACtrl+Enter
List members N/ACtrl+J
Navigate to N/ACtrl+,
Open file N/ACtrl+Shift+G
Overtype mode N/AInsert
Parameter info N/ACtrl+Shift+Space
Paste N/ACtrl+V
Peek definition N/AAlt+F12
Redo N/ACtrl+Y
Replace N/ACtrl+H
Select all N/ACtrl+A
Select current word N/ACtrl+W
Selection cancel N/AEsc
Remove and sort usings N/ACtrl+R+G
Surround with N/ACtrl+K+S
Tab left N/AShift+Tab
Toggle all outlining N/ACtrl+M+L
Toggle bookmark N/ACtrl+K+K
Toggle completion mode N/ACtrl+Alt+Space
Toggle line comment N/ACtrl+/
Toggle outlining expansion N/ACtrl+M+M
Uncomment selection N/ACtrl+K+U
Undo N/ACtrl+Z
Word delete to end N/ACtrl+Delete
Word delete to start N/ACtrl+Backspace

File11 SHORTCUTS

Exit N/AAlt+F4
New file N/ACtrl+N
New project N/ACtrl+Shift+N
New web site N/AAlt+Shift+N
Open file N/ACtrl+O
Open project N/ACtrl+Shift+O
Open web site N/AAlt+Shift+O
Rename N/AF2
Save all N/ACtrl+Shift+S
Save selected items N/ACtrl+S
View in browser N/ACtrl+Shift+W

Project2 SHORTCUTS

Add existing item N/AAlt+Shift+A
Add new item N/ACtrl+Shift+A

Refactor1 SHORTCUT

Extract method N/ACtrl+R+M

Tools1 SHORTCUT

Attach to process N/ACtrl+Alt+P

View16 SHORTCUTS

Class view N/ACtrl+Shift+C
Edit label N/AF2
Error list N/ACtrl+\+E
Navigate backward N/ACtrl+-
Navigate forward N/ACtrl+Shift+-
Object browser N/ACtrl+Alt+J
Output N/ACtrl+Alt+O
Properties window N/AF4
Refresh N/AF5
Server explorer N/ACtrl+Alt+S
Show smart tag N/ACtrl+.
Solution explorer N/ACtrl+Alt+L
TFS Team Explorer N/ACtrl+\+M
Toolbox N/ACtrl+Alt+X
View code N/AEnter
View designer N/AShift+F7

Window5 SHORTCUTS

Activate document window N/AEsc
Close document window N/ACtrl+F4
Next document window N/ACtrl+F6
Next document window nav N/ACtrl+Tab
Next split pane N/AF6

Analyze2 SHORTCUTS

Navigate backward N/AAlt+Shift+3
Navigate forward N/AAlt+Shift+4

Architecture1 SHORTCUT

New diagram N/ACtrl+\+N

Azure2 SHORTCUTS

Retry mobile service script operation N/ACtrl+Multiply+R
Show mobile service script error details N/ACtrl+Multiply+D

Class View context menus1 SHORTCUT

Properties N/AAlt+Enter

Diagnostics Hub1 SHORTCUT

Stop collection N/ACtrl+Alt+F2

ADO.NET Entity Data Model Designer10 SHORTCUTS

Move properties down N/AAlt+Down
Move properties down 5 N/AAlt+PageDown
Move properties to bottom N/AAlt+End
Move properties to top N/AAlt+Home
Move properties up N/AAlt+Up
Move properties up 5 N/AAlt+PageUp
Rename N/ACtrl+R+R
Remove from diagram N/AShift+Delete
Entity data model browser N/ACtrl+1
Entity data model mapping details N/ACtrl+2

Class Diagram7 SHORTCUTS

Collapse N/A-
Expand N/A+
Delete N/ACtrl+Delete
Expand collapse base type list N/AAlt+Shift+B
Navigate to lollipop N/AAlt+Shift+L
Remove from diagram N/ADelete
View code N/AEnter

Coded UI Test Editor6 SHORTCUTS

Copy reference to clipboard N/ACtrl+C
Insert delay before N/ACtrl+Alt+D
Locate all N/AAlt+Shift+L
Locate the UI control N/ACtrl+Shift+L
Move code N/ACtrl+Alt+C
Split into a new method N/ACtrl+Shift+T

DataSet Editor2 SHORTCUTS

Insert column N/AInsert
Add column N/ACtrl+L

Difference Viewer11 SHORTCUTS

Ignore trim whitespace N/ACtrl+\+Space
Inline view N/ACtrl+\+1
Left only view N/ACtrl+\+3
Next difference N/AF8
Previous difference N/AShift+F8
Right only view N/ACtrl+\+4
Side by side view N/ACtrl+\+2
Switch between left and right N/ACtrl+\+Tab
Synchronize view toggle N/ACtrl+\+Down
Add comment N/ACtrl+Shift+K
Edit local file N/ACtrl+Shift+P

DOM Explorer3 SHORTCUTS

Refresh N/AF5
Select element N/ACtrl+B
Show layout N/ACtrl+Shift+I

F# Interactive1 SHORTCUT

Cancel interactive evaluation N/ACtrl+Break
The BuildBox Macropad Puts Keyboard Shortcuts at Your Fingertips! LEARN MORE →

Graph Document Editor7 SHORTCUTS

Add node N/AInsert
Both dependencies N/AB
Incoming dependencies N/AI
Outgoing dependencies N/AO
New comment N/ACtrl+Shift+K
Remove N/ADelete
Rename N/AF2

Graphics Diagnostics8 SHORTCUTS

Move pixel selection down N/AAlt+Shift+Down
Move pixel selection left N/AAlt+Shift+Left
Move pixel selection right N/AAlt+Shift+Right
Move pixel selection up N/AAlt+Shift+Up
Zoom to actual size N/AAlt+Shift+0
Zoom to fit in window N/AAlt+Shift+9
Zoom in N/AAlt+Shift+=
Zoom out N/AAlt+Shift+-

HTML Editor20 SHORTCUTS

Go to controller N/ACtrl+M+G
Move control down N/ACtrl+Down
Move control up N/ACtrl+Up
Bold N/ACtrl+B
Convert to hyperlink N/ACtrl+L
Insert bookmark N/ACtrl+Shift+L
Italic N/ACtrl+I
Underline N/ACtrl+U
Add content page N/ACtrl+M+C
Column to the left N/ACtrl+Alt+Left
Column to the right N/ACtrl+Alt+Right
Row above N/ACtrl+Alt+Up
Row below N/ACtrl+Alt+Down
Net nonvisual controls N/ACtrl+Shift+N
Edit master N/ACtrl+M+M
Next view N/ACtrl+PageDown
Show smart tag N/AAlt+Shift+F10
View markup / View designer N/AShift+F7
Previous tab N/ACtrl+PageUp
Synchronize views N/ACtrl+Shift+Y

Layer Diagram1 SHORTCUT

Delete N/AShift+Delete

Managed Resources Editor10 SHORTCUTS

Edit cell N/AF2
Remove N/ADelete
Remove row N/ACtrl+Delete
Selection cancel N/AEsc
Audio N/ACtrl+4
Files N/ACtrl+5
Icons N/ACtrl+3
Images N/ACtrl+2
Other N/ACtrl+6
Strings N/ACtrl+1

Merge Editor Window3 SHORTCUTS

Set focus on left window N/AAlt+1
Set focus on result window N/AAlt+2
Set focus on right window N/AAlt+3

Microsoft SQL Server Data Tools Schema Compare6 SHORTCUTS

SSDT schema compare compare N/AAlt+Shift+C
SSDT schema compare generate script N/AAlt+Shift+G
SSDT schema compare next change N/AAlt+Shift+.
SSDT schema compare previous change N/AAlt+Shift+,
SSDT schema compare stop N/AAlt+Break
SSDT schema compare write updates N/AAlt+Shift+U

Microsoft SQL Server Data Tools Table Designer6 SHORTCUTS

Commit all edits N/AAlt+Shift+U
Expand wildcards N/ACtrl+R+E
Fully qualify names N/ACtrl+R+Q
Move to schema N/ACtrl+R+M
Rename N/AF2
View file in Script Panel N/AAlt+Shift+PageDown

VC Image Editor43 SHORTCUTS

Airbrush tool N/ACtrl+A
Brush tool N/ACtrl+B
Copy and outline selection N/ACtrl+Shift+U
Draw opaque N/ACtrl+J
Ellipse tool N/AAlt+P
Erase tool N/ACtrl+Shift+I
Filled ellipse tool N/ACtrl+Alt+Shift+P
Filled rectangle tool N/ACtrl+Alt+Shift+R
Filled rounded rectangle tool N/ACtrl+Alt+Shift+W
Fill tool N/ACtrl+F
Flip horizontal N/ACtrl+H
Flip vertical N/AAlt+Shift+H
Larger brush N/ACtrl+=
Line tool N/ACtrl+L
Magnification tool N/ACtrl+M
Magnify N/ACtrl+Shift+M
New image type N/AInsert
Next color N/ACtrl+]
Next color (alternative) N/ACtrl+Right
Next right color N/ACtrl+Shift+]
Next right color (alternative) N/ACtrl+Shift+Right
Outlined ellipse tool N/AAlt+Shift+P
Outlined rectangle tool N/AAlt+Shift+R
Outlined rounded rectangle tool N/AAlt+Shift+W
Pencil tool N/ACtrl+I
Previous color N/ACtrl+[
Previous color (alternative) N/ACtrl+Left
Previous right color N/ACtrl+Shift+[
Previous right color (alternative) N/ACtrl+Shift+Left
Rectangle selection tool N/AAlt+Shift+S
Rectangle tool N/AAlt+R
Rotate 90 degrees N/ACtrl+Shift+H
Rounded rectangle tool N/AAlt+W
Show grid N/ACtrl+Alt+S
Show tile grid N/ACtrl+Alt+Shift+S
Small brush N/ACtrl+.
Smaller brush N/ACtrl+-
Text tool N/ACtrl+T
Use selection as brush N/ACtrl+U
Zoom in N/ACtrl+Shift+.
Zoom in (alternative) N/ACtrl+Up
Zoom out N/ACtrl+Shift+,
Zoom out (alternative) N/ACtrl+Down

VC String Editor1 SHORTCUT

New string N/AInsert

View Designer8 SHORTCUTS

Cancel retrieving data N/ACtrl+T
Criteria N/ACtrl+2
Diagram N/ACtrl+1
Execute SQL N/ACtrl+R
Goto row N/ACtrl+G
Join mode N/ACtrl+Shift+J
Results N/ACtrl+4
SQL N/ACtrl+3

Visual Studio1 SHORTCUT

Hide methods pane N/ACtrl+1

Windows Forms Designer24 SHORTCUTS

Break line N/AEnter
Char left N/ALeft
Char left extend N/AShift+Left
Char right N/ARight
Char right extend N/AShift+Right
Document end N/AEnd
Document end extend N/AShift+End
Document start N/AHome
Document start extend N/AShift+Home
Insert tab N/ATab
Line down N/ADown
Line down extend N/AShift+Up
Line up N/AUp
Line up extend N/AShift+Down
Move control down N/ACtrl+Down
Move control left N/ACtrl+Left
Move control right N/ACtrl+Right
Move control up N/ACtrl+Up
Selection cancel N/AEsc
Size control down N/ACtrl+Shift+Down
Size control left N/ACtrl+Shift+Left
Size control right N/ACtrl+Shift+Right
Size control up N/ACtrl+Shift+Up
Tab left N/AShift+Tab

Work Item Editor3 SHORTCUTS

Create copy of work item N/AAlt+Shift+C
Refresh work item N/AF5
New linked work item N/AAlt+Shift+L

Work Item Query View6 SHORTCUTS

Create copy of work item N/AAlt+Shift+C
Indent N/AAlt+Shift+Right
Outdent N/AAlt+Shift+Left
New linked work item N/AAlt+Shift+L
Refresh N/AF5
Toggle N/AAlt+Shift+V

Work Item Results View8 SHORTCUTS

Create copy of work item N/AAlt+Shift+C
Indent N/AAlt+Shift+Right
Outdent N/AAlt+Shift+Left
Goto next work item N/AAlt+Shift+N
Goto previous work item N/AAlt+Shift+P
New linked work item N/AAlt+Shift+L
Refresh N/AF5
Toggle N/AAlt+Shift+V

Workflow Designer26 SHORTCUTS

Complete word (alternative 1) N/ACtrl+K+W
Complete word (alternative 2) N/ACtrl+Space
Complete word (alternative 3) N/AAlt+Right
Decrease filter level N/AAlt+,
Increase filter level N/AAlt+.
List members (alternative 1) N/ACtrl+K+L
List members (alternative 2) N/ACtrl+J
Parameter info (alternative 1) N/ACtrl+K+P
Parameter info (alternative 2) N/ACtrl+Shift+Space
Quick info (alternative) N/ACtrl+K+I
Collapse (alternative) N/ACtrl+E+C
Connect nodes (alternative) N/ACtrl+E+F
Create variable (alternative) N/ACtrl+E+N
Expand all (alternative) N/ACtrl+E+X
Expand in place (alternative) N/ACtrl+E+E
Go to parent (alternative) N/ACtrl+E+P
Move focus (alternative) N/ACtrl+E+M
Navigate through designer N/ACtrl+Alt+F6
Restore (alternative) N/ACtrl+E+R
Show hide argument designer (alternative) N/ACtrl+E+A
Show hide imports designer (alternative) N/ACtrl+E+I
Show hide overview map (alternative) N/ACtrl+E+O
Show hide variable designer (alternative) N/ACtrl+E+V
Toggle selection (alternative) N/ACtrl+E+S
Zoom in N/ACtrl++
Zoom out N/ACtrl+-

XAML UI Designer16 SHORTCUTS

Fit all N/ACtrl+0
Show handles N/AF9
Zoom in N/ACtrl+Alt+=
Zoom out N/ACtrl+Alt+-
Edit text N/AF2
Reset layout - all N/ACtrl+Shift+R
Run project code N/ACtrl+F9
Hide (Blend only) N/ACtrl+H
Lock (Blend only) N/ACtrl+L
Show (Blend only) N/ACtrl+Shift+H
Unlock (Blend only) N/ACtrl+Shift+L
Edge left move left N/ACtrl+Shift+,
Edge left move right N/ACtrl+Shift+.
Edge right move left N/ACtrl+Alt+Shift+,
Edge right move right N/ACtrl+Alt+Shift+.
Show property marker menu N/ACtrl+Space

XML (Text) Editor2 SHORTCUTS

Start XSLT debugging N/AAlt+F5
Start XSLT without debugging N/ACtrl+Alt+F5

XML Schema Designer8 SHORTCUTS

Bottom to top N/AAlt+Up
Left to right N/AAlt+Right
Right to left N/AAlt+Left
Top to bottom N/AAlt+Down
Remove from workspace N/ADelete
Show content model view N/ACtrl+2
Show graph view N/ACtrl+3
Show start view N/ACtrl+1

Noticed errors or keyboard shortcuts that don't work? Please let us know about them here →

The BuildBox Macropad Unlocks Thousands of Keyboard Shortcuts For Any App

The BuildBox Macropad
Available early December

That's why the BuildBox Macropad is the Ultimate Shortcut Machine. One device with infinite shortcuts available at your fingertips, plus a HUGE display showing what each key does, and a magnet-powered zero-friction scroll wheel that moves through documents, video, audio and graphic editing apps like butter!

Enter your Email to get your hands on a launch batch BuildBox (limited: 200 available):

Keyboard Shortcuts for Similar Applications