Visual Studio shortcuts
- 25 shortcuts
- 5 sections
- Development
- Also on: Windows
- Verified against official docs
Your answer helps keep this page right.
Do these shortcuts work for you?
Debug is the section to learn first: Start Debugging runs the program under the debugger, Start Without Debugging runs it without, and Stop Debugging ends the session. When the program is paused, Step Over, Step Into and Step Out move through the code.
Start with these
- Start Debugging
- Stop Debugging
- Toggle Breakpoint
- Step Over
- Find in Files
- Go to Declaration
Tips for Visual Studio
- Toggle Breakpoint ⌘\ marks the line where the debugger should pause.
- Find ⌘F and Replace ⌥⌘F work in the open file. Find in Files ⇧⌘F searches across files.
- Rename ⌘R renames a symbol.
Build3
| Action | Shortcut |
|---|---|
| Build all | |
| Build current project | |
| Clean |
Debug7
| Action | Shortcut |
|---|---|
| Start Debugging | |
| Start Without Debugging | |
| Stop Debugging | |
| Toggle Breakpoint | |
| Step Over | |
| Step Into | |
| Step Out |
Edit5
| Action | Shortcut |
|---|---|
| Find | |
| Replace | |
| Find in Files | |
| Toggle Comment | |
| Rename |
Window4
| Action | Shortcut |
|---|---|
| Close file | |
| New file | |
| Command palette | |
| Full screen |
Report a problem
GitHub is public. Email is private.
Related resources
More Development shortcuts
Explore more macOS apps
Frequently Asked Questions
How many keyboard shortcuts does Visual Studio have on macOS?
Visual Studio has 25 keyboard shortcuts on macOS, organized into 5 sections: Build, Debug, Edit, Navigate, and more. This page lists all of them with searchable, organized shortcut tables.
Which Visual Studio shortcuts should I learn first?
Start with Start Debugging (⌘↩), Stop Debugging (⇧⌘↩), Toggle Breakpoint (⌘\), Step Over (F10), Find in Files (⇧⌘F), Go to Declaration (⌘D). The sections on this page list the rest.
Can I download Visual Studio shortcuts as a PDF?
Yes. Click the download button at the top of this page to generate a printable PDF cheat sheet with all 25 Visual Studio shortcuts. The PDF includes organized sections, keycap-style key labels, and space for your own notes.
Where is the official Visual Studio keyboard shortcuts documentation?
The official Visual Studio keyboard shortcuts documentation is available on their website. Every shortcut on this page is sourced from and verified against the official documentation to ensure accuracy.
Do these Visual Studio shortcuts work on all Mac keyboards?
Yes. These shortcuts work on all Mac keyboards, including MacBook built-in keyboards and external Apple keyboards. The modifier keys are Command (⌘), Option (⌥), Control (⌃), and Shift (⇧). On keyboards without a Function row, some F-key shortcuts may require holding the Fn key.
Maintained by Vladik Didyk
Access Visual Studio shortcuts from your menu bar
KeyShortcut detects the active app and shows its shortcuts instantly. Switch it on in Settings. No memorization needed.
