Table of Contents
- YouTube (Microsoft) popular video on Visual Studio keyboard shortcuts:
| Command | Shortcut |
|---|---|
| Quick Actions/Refactorings | Ctrl + . |
| Go To All (Search code/features) | Ctrl + T (or Ctrl + Q) |
| Format Document | Ctrl + K, Ctrl + D |
| Comment Selection | Ctrl + K, Ctrl + C |
| Uncomment Selection | Ctrl + K, Ctrl + U |
| Move line up/down | Alt + ⬆️ / ⬇️ |
| Duplicate line | Ctrl + D |
| Delete line | Ctrl + Shift + L |
Microsoft documentation
| Command | Shortcut |
|---|---|
| Start Debugging | F5 |
| Start Without Debugging | Ctrl + F5 |
| Stop Debugging | Shift + F5 |
| Toggle Breakpoint | F9 |
| Step Over | F10 |
| Step Into | F11 |
| Quick Watch (while debugging) | Shift + F9 |
| Command | Shortcut |
|---|---|
| Go To Definition | F12 |
| Peek Definition (quick view) | Alt + F12 |
| Go To Line Number | Ctrl + G |
You can identify keyboard shortcuts for Visual Studio commands, customize those shortcuts, and export them for others to use.