
Visual Studio shortcuts 2020 complete list for Windows and Mac + PDF
As a developer, you want to work as fast and efficiently as possible. One way to reach that goal is to memorize the shortcuts of all the necessary actions you take inside your go-to software. Since you have come this far then you might have already realized that there are a lot of shortcuts available. To make it simpler for you, we collected all the shortcuts available and placed them inside this blog.
If you want to have all the Visual Studio shortcuts on your computer without going through our website, then you can download the PDF formats for Windows and Mac here.
With our WorkSmarter solution, you can have all the essential shortcuts for Visual Studio in the palm of your hand. On our website you can purchase a Visual Studio mousepad that is both efficient and practical.
Popular | Shortcut Windows | Shortcut Mac OSX |
Undo | Ctrl + Z | ⌘ + Z |
Redo | Shift + Ctrl + Z | Shift + ⌘ + Z |
Cut | Ctrl + X | ⌘ + X |
Copy | Ctrl + C | ⌘ + C |
Paste | Ctrl + V | ⌘ + V |
Select All | Ctrl + A | ⌘ + A |
Save all Documents in project | Ctrl + Shift + S | Shift + ⌘ + S |
Rename | Ctrl + R | ⌘ + R |
Go to all | Ctrl + T | |
Go to recent files | Ctrl + T + R | |
Go to Line | Ctrl+G. | ⌘ + L |
Go To File | Shift + ⌘ + D | |
Format Document | Ctrl + K + D | Ctrl + I |
Zoom In | Ctrl + Shift + > | ⌘ + +, ⌘ + = |
Zoom out | Ctrl + Shift + < | ⌘ + -, ⌘ + _ |
Find in the editor | Shortcut Windows | Shortcut Mac OSX |
Quick Find | Ctrl + F | ⌘ + f |
Quick Find Next Result | Enter | ⌘ + G, F3 |
Quick Find Previous Result | Shift + Enter | Shift + ⌘ + G, Shift + F3 |
Find in Files | Ctrl + Shift + F | Shift + ⌘ + F |
Dismiss Find | Esc | Esc |
Debugging | Shortcut Windows | Shortcut Mac OSX |
Start Debugging | F5 | ⌘ + Return |
Stop Debuggng | Shift + F5 | Shift + ⌘ + Return |
Restart Debugging | Ctrl + Shift + F5 | |
Start/restart without Debugging | Ctrl+F5 | ⌥ + ⌘ + Enter |
Pause Debugging | ⌥ + ⌘ + P | |
Build All | Ctrl + Shift + B | ⌘ + B |
Rebuild All | Ctrl + ⌘ + B | |
View breakpoints | ⌥ + ⌘ + B | |
Step Over | F10 | Shift + ⌘ + O |
Step Into | F11 | Shift + ⌘ + I |
Step Out | Shift + F11 | Shift + ⌘ + U |
Run to cursor | Ctrl + F10 | ⌘ + F10 |
Set and toggle breakpoint | F9 | ⌘ + \ |
Disable breakpoint | Ctrl + F9 | Options + ⌘ + / |
Remove all breakpoints | Ctrl+Shift+F9 | ⌥ + ⌘ + \ |
Immediate window | Ctrl + Alt + I | |
Immediate window command mode | Type ">" | |
Immediate window - clear buffer | Type "cls" | |
Immediate window - print value | Type "?varname" | |
Replace in the editor | Shortcut Windows | Shortcut Mac OSX |
Replace | Ctrl + H | Options + ⌘ + F |
Replace Next | Alt + R | |
Replace All | Alt + A | |
Replace in Files | Ctrl + Shift + H | |
Folding | Shortcut Windows | Shortcut Mac OSX |
Toggle Fold | Shift + ⌥ + ⌘ + Left | |
Toggle All Fold | Shift + ⌥ + ⌘ + Up | |
Window | Shortcut Windows | Shortcut Mac OSX |
Activate 1 / 9 | ⌘1/9 | |
Close window | Ctrl + F4 | |
Hide Visual Studio | Alt + Space + N | ⌘ + H |
Minimize | Windows + Down | ⌘ + M |
Next Document | Ctrl + F6 | ⌘ + F6 |
Previous Document | Ctrl + Shift + F6 | Shift + ⌘ + F6 |
Switch to Next Document | Ctrl + Tab | Ctrl + Tab |
Switch To Previous Document | Ctrl + Shift + Tab | Ctrl + Shift + Tab |
File | Shortcut Windows | Shortcut Mac OSX |
Close All | Alt + Shift + F4 | Shift + ⌘ + W |
Close File | Alt + F4 | ⌘ + W |
Close Workspace | Alt + W + L | ⌥ + ⌘ + W |
New File | Ctrl + N | ⌘ + N |
New Solution | Ctrl + Shift + N | Shift + ⌘ + N |
Open | Ctrl + O | ⌘ + O |
Ctrl + P | ⌘ + P | |
Quit | Alt + Shift + F4 | ⌘ + Q |
Revert | Ctrl + Z | ⌘ + U |
Save | Ctrl + S | ⌘ + S |
Save All | Ctrl + Shift + S | Shift + ⌘ + S |
Project | Shortcut Windows | Shortcut Mac OSX |
Add Files | Shift + F2 | ⌥ + ⌘ + A |
Add Existing item | Shift + Alt + A | |
Build | Ctrl + B | ⌘ + K |
Clean | Shift + ⌘ + K | |
Rebuild | Alt + B + R | Ctrl + ⌘ + K |
Rebuild all | Shift + Alt + B + R | Ctrl + ⌘ + B |
Stop | Ctrl + Break | Shift + ⌘ + Enter |
Help | Shortcut Windows | Shortcut Mac OSX |
Api Documentation | Ctrl + F1 | Shift + ⌘ + M |
Unity API Reference | CTRL+ALT+M, | Shift + ⌘ + ' |
Carets | Shortcut Windows | Shortcut Mac OSX |
Insert next matching caret | Shift + Alt + . | Shift + ⌥ + . |
Insert carets at all matching | Shift + Alt + ; | Shift + ⌥ + ; |
Remove last caret | Shift + Alt + , | Shift + ⌥ + , |
Insert caret at pointer | Ctrl + Alt + Click | Ctrl + ⌥ |
Move Last Caret Down | Shift + Alt + / | ⌥ + Shift + / |