Get 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 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
More shortcuts on this key with other modifiers.
With Ctrl20 keys
All Visual Studio keyboard shortcuts for Windows
No shortcut matches that search.
File6
| Command | Shortcut |
|---|---|
| New file | Ctrl+N |
| New project | Ctrl+Shift+N |
| Open file | Ctrl+O |
| Save | Ctrl+S |
| Save all | Ctrl+Shift+S |
| Add new item | Ctrl+Shift+A |
Edit7
| Command | Shortcut |
|---|---|
| Undo | Ctrl+Z |
| Redo | Ctrl+Y |
| Cut line | Ctrl+L |
| Delete line | Ctrl+Shift+L |
| Move line(s) up | Alt+↑ |
| Move line(s) down | Alt+↓ |
| New line above | Ctrl+Enter |
IntelliSense & code7
| Command | Shortcut |
|---|---|
| Toggle line comment | Ctrl+/ |
| Complete word (IntelliSense) | Ctrl+Space |
| Parameter info | Ctrl+Shift+Space |
| Quick Actions and refactorings | Ctrl+. |
| Add caret at next match | Alt+Shift+. |
| Add carets at all matches | Alt+Shift+; |
| Expand selection | Alt+Shift+= |
Search & navigation11
| Command | Shortcut |
|---|---|
| Find | Ctrl+F |
| Replace | Ctrl+H |
| Find in files | Ctrl+Shift+F |
| Go to All | Ctrl+T |
| Go to line | Ctrl+G |
| Go to definition | F12 |
| Peek definition | Alt+F12 |
| Find all references | Shift+F12 |
| Navigate backward | Ctrl+- |
| Navigate forward | Ctrl+Shift+- |
| Search (Quick Launch) | Ctrl+Q |
Build & debug9
| Command | Shortcut |
|---|---|
| Build solution | Ctrl+Shift+B |
| Start debugging | F5 |
| Start without debugging | Ctrl+F5 |
| Stop debugging | Shift+F5 |
| Toggle breakpoint | F9 |
| Step over | F10 |
| Step into | F11 |
| Step out | Shift+F11 |
| Run to cursor | Ctrl+F10 |
Windows & view8
| Command | Shortcut |
|---|---|
| Solution Explorer | Ctrl+Alt+L |
| Properties window | F4 |
| Output window | Ctrl+Alt+O |
| Close document | Ctrl+F4 |
| Switch documents | Ctrl+Tab |
| Full screen | Alt+Shift+Enter |
| Zoom in | Ctrl+Shift+. |
| Zoom out | Ctrl+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.