Last active
October 4, 2025 10:53
-
-
Save hellorosedev/244e7e1fe9f8eb5e0b5e68f2633194b2 to your computer and use it in GitHub Desktop.
Most Useful Visual Studio Keyboard Shortcuts for Productivity
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 🧭 Navigation | |
| Go to Line: Ctrl + G | |
| Go to Definition: F12 | |
| Navigate Backward: Ctrl + - | |
| Navigate Forward: Ctrl + Shift + - | |
| Find the Current Open File: Ctrl + [ + S | |
| Feature Search: Ctrl + Shift + P | |
| Code Search: Ctrl + T | |
| Find in Files / Find & Replace: Ctrl + Shift + F | |
| Collapse Code: Ctrl + M + O | |
| Expand Code: Ctrl + M + P | |
| Open Specific Collapse Code: Ctrl + M + M | |
| ✍️ Editing | |
| Comment Selection: Ctrl + K, C | |
| Uncomment Selection: Ctrl + K, U | |
| Format Document: Ctrl + K, D | |
| Quick Actions / Refactor: Ctrl + . | |
| Rename all Words Similar: Ctrl + R + Ctrl + R | |
| Move the line up and down: Alt + Up or Alt + Down | |
| Delete Line: Ctrl + X | |
| Multiple Cursors: Alt + Shift + Up / Down | |
| Peek Definition: Alt + F12 | |
| Surround With (if, loops, etc): Ctrl + K, Ctrl + S | |
| 🐞 Debugging | |
| Toggle Breakpoint: F9 | |
| View All Breakpoints: Ctrl + Alt + B | |
| Remove All Breakpoints: Ctrl + Shift + F9 | |
| Step Into: F11 | |
| Step Over: F10 | |
| Step Out: Shift + F11 | |
| Run to Cursor: Ctrl + F10 | |
| Autos: Ctrl + Alt + V, A | |
| Immediate: Ctrl + Alt + I | |
| Locals: Ctrl + Alt + V, L | |
| Watch: Ctrl + Alt + W, 1 | |
| 🛠️ Build & Run | |
| Build Solution: Ctrl + Shift + B | |
| Start Debugging: F5 | |
| Start Without Debugging: Ctrl + F5 | |
| Stop Debugging: Shift + F5 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment