Visual Studio keyboard shortcuts
Building, debugging, editing, and tool windows in Microsoft's full IDE.
84 shortcuts Windows checked September 14, 2026
Print all 84 shortcuts One sheet with every shortcut in this app, ready for the printer or a PDF.
This app has a Windows catalog in Shortivo. No other operating system is published for it yet.
24 actions and 24 key variants match.
- Visual Studio Documented
| Action | Keys | Row actions |
|---|---|---|
| Build the whole solution Build | Windows CtrlShiftB | Source |
| Cancel a running build Build | Windows CtrlBreak | Source |
| Compile the current file Build | Windows CtrlF7 | Source |
| Set a breakpoint on a named function Debugging | Windows CtrlB | Source |
| Remove every breakpoint Debugging | Windows CtrlShiftF9 | Source |
| Run until the cursor line Debugging | Windows CtrlF10 | Source |
| Step out of the current function Debugging | Windows ShiftF11 | Source |
| Stop debugging Debugging | Windows ShiftF5 | Source |
| Set or clear a breakpoint Debugging | Windows F9 | Source |
| Complete the current word Text editor | Windows CtrlSpace | Source |
| Format the whole document Text editor | Windows CtrlKCtrlD | Source |
| Cut the whole line Text editor | Windows CtrlL | Source |
| Show parameter information Text editor | Windows CtrlShiftSpace | Source |
| Peek at a definition inline Text editor | Windows AltF12 | Source |
| Redo the last undone change Anywhere | Windows CtrlY | Source |
| Remove and sort using directives Text editor | Windows CtrlRCtrlG | Source |
| Collapse or expand all outlining Text editor | Windows CtrlMCtrlL | Source |
| Undo the last change Anywhere | Windows CtrlZ | Source |
| Create a new file Anywhere | Windows CtrlN | Source |
| Create a new project Anywhere | Windows CtrlShiftN | Source |
| Add an existing item to the project Project | Windows ShiftAltA | Source |
| Add a new item to the project Project | Windows CtrlShiftA | Source |
| Attach the debugger to a process Anywhere | Windows CtrlAltP | Source |
| Show quick actions and fixes Text editor | Windows Ctrl. | Source |
About Visual Studio and its shortcuts
Visual Studio is the full Microsoft development environment, and its keyboard reflects a program with a very large surface: building, debugging, navigating a solution, refactoring and window management each have their own family of commands. The debugging commands are the ones that pay back fastest, since they are repeated dozens of times an hour.
Visual Studio ships several keyboard schemes and lets you switch between them, so the installed default is not universal. Installed workloads and extensions also add their own bindings, and Shortivo publishes the Windows list only.
Where the Visual Studio keys came from
Read from 1 documentation page published by the makers of Visual Studio. Report a key that is wrong
To see how one action is done in other apps as well as Visual Studio, browse the shortcuts by task. Shortcuts by task