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.
- 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 |
| Run code analysis on the solution Build | Windows AltF11 | Source |
| Set a breakpoint on a named function Debugging | Windows CtrlB | Source |
| Pause all running code Debugging | Windows CtrlAltBreak | Source |
| Remove every breakpoint Debugging | Windows CtrlShiftF9 | Source |
| Open the exception settings Debugging | Windows CtrlAltE | Source |
| Open a quick watch on an expression Debugging | Windows CtrlAltQ | Source |
| Restart the debugging session Debugging | Windows CtrlShiftF5 | Source |
| Run until the cursor line Debugging | Windows CtrlF10 | Source |
| Set the next statement to run Debugging | Windows CtrlShiftF10 | Source |
| Start debugging Debugging | Windows F5 | Source |
| Start without the debugger Debugging | Windows CtrlF5 | Source |
| Step into the next call Debugging | Windows F11 | Source |
| Step out of the current function Debugging | Windows ShiftF11 | Source |
| Step over the next call Debugging | Windows F10 | Source |
| Stop debugging Debugging | Windows ShiftF5 | Source |
| Set or clear a breakpoint Debugging | Windows F9 | Source |
| Collapse the code to its definitions Text editor | Windows CtrlMCtrlO | Source |
| Comment out the selection Text editor | Windows CtrlKCtrlC | Source |
| Complete the current word Text editor | Windows CtrlSpace | Source |
| Copy the selection Anywhere | Windows CtrlC | Source |
| Cut the selection Anywhere | Windows CtrlX | Source |
| Find text in the file Anywhere | Windows CtrlF | Source |
| Find every reference to a symbol Text editor | Windows ShiftF12 | Source |
| Find text across files Anywhere | Windows CtrlShiftF | Source |
| Find the next match Anywhere | Windows F3 | Source |
| Find the next match of the selection Text editor | Windows CtrlF3 | Source |
| Format the whole document Text editor | Windows CtrlKCtrlD | 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