Christmas gifts: delivery dates and last-minute ideas.10% off: MODKEY10 Gift guide →

Visual Studio keyboard shortcuts (Windows)

Visual Studio PosterGet it on your desk →

The most used Visual Studio shortcuts on Windows: Quick Actions and refactorings (Ctrl+.), Go to All (Ctrl+T), Go to definition (F12), Build solution (Ctrl+Shift+B), Start debugging (F5). This page lists all 48, from the official documentation.

48 Visual Studio keyboard shortcuts for Windows, grouped into File, Edit, IntelliSense & code, Search & navigation, Build & debug, Windows & view. Every key is copied from learn.microsoft.com (retrieved November 19, 2026) and shown on a real keyboard layout.

Visual Studio · Desk mat · Paper

Visual Studio keyboard map

Pick your keyboard and a modifier. Keys with a shortcut light up; point at or tap a key to see everything on it. Try it: hold Ctrl on your keyboard

Modifier
Keyboard
Point at or tap a key.

More shortcuts on this key with other modifiers.

With Ctrl20 keys

All Visual Studio keyboard shortcuts for Windows

48 shortcuts

File6

CommandShortcut
New fileCtrl+N
New projectCtrl+Shift+N
Open fileCtrl+O
SaveCtrl+S
Save allCtrl+Shift+S
Add new itemCtrl+Shift+A

Edit7

CommandShortcut
UndoCtrl+Z
RedoCtrl+Y
Cut lineCtrl+L
Delete lineCtrl+Shift+L
Move line(s) upAlt+↑
Move line(s) downAlt+↓
New line aboveCtrl+Enter

IntelliSense & code7

CommandShortcut
Toggle line commentCtrl+/
Complete word (IntelliSense)Ctrl+Space
Parameter infoCtrl+Shift+Space
Quick Actions and refactoringsCtrl+.
Add caret at next matchAlt+Shift+.
Add carets at all matchesAlt+Shift+;
Expand selectionAlt+Shift+=

Search & navigation11

CommandShortcut
FindCtrl+F
ReplaceCtrl+H
Find in filesCtrl+Shift+F
Go to AllCtrl+T
Go to lineCtrl+G
Go to definitionF12
Peek definitionAlt+F12
Find all referencesShift+F12
Navigate backwardCtrl+-
Navigate forwardCtrl+Shift+-
Search (Quick Launch)Ctrl+Q

Build & debug9

CommandShortcut
Build solutionCtrl+Shift+B
Start debuggingF5
Start without debuggingCtrl+F5
Stop debuggingShift+F5
Toggle breakpointF9
Step overF10
Step intoF11
Step outShift+F11
Run to cursorCtrl+F10

Windows & view8

CommandShortcut
Solution ExplorerCtrl+Alt+L
Properties windowF4
Output windowCtrl+Alt+O
Close documentCtrl+F4
Switch documentsCtrl+Tab
Full screenAlt+Shift+Enter
Zoom inCtrl+Shift+.
Zoom outCtrl+Shift+,

Source: Microsoft · learn.microsoft.com · retrieved . Unofficial reference. Not affiliated with Microsoft. How we source shortcuts →

Free printable Visual Studio cheat sheet

The essential shortcuts on one page (PDF, 24 × 20 cm), for your keyboard and language.

Visual Studio shortcut questions

What is the shortcut for “Quick Actions and refactorings” in Visual Studio on Windows?
Press Ctrl+.. That is the shortcut for “Quick Actions and refactorings” in Visual Studio on Windows, as given in the official documentation.
What is the shortcut for “Go to All” in Visual Studio on Windows?
Press Ctrl+T. That is the shortcut for “Go to All” in Visual Studio on Windows, as given in the official documentation.
What is the shortcut for “Go to definition” in Visual Studio on Windows?
Press F12. That is the shortcut for “Go to definition” in Visual Studio on Windows, as given in the official documentation.
Where do these Visual Studio shortcuts come from?
From Microsoft’s official documentation at learn.microsoft.com, retrieved November 19, 2026. Every key is copied from there, never from other websites.

Learn it, then print it