Skip to content

Instantly share code, notes, and snippets.

@maiconheck
Last active October 17, 2020 09:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save maiconheck/8f7d4485d9f2059e3d47aea7d7a5d9bb to your computer and use it in GitHub Desktop.
Save maiconheck/8f7d4485d9f2059e3d47aea7d7a5d9bb to your computer and use it in GitHub Desktop.
VS Shortcuts CheatSheet

My Visual Studio Shortcuts CheatSheet

The frequently used / custom shortcuts


Edit / File

Code Cleanup Format Document Insert Snippet Surround With
Ctrl+K, Ctrl+E Ctrl+K, Ctrl+D Ctrl+K, Ctrl+X Ctrl+K, Ctrl+S
Collapse All Outlining Toggle Collapse Current Block Redo New Folder
Ctrl+M, Ctrl+A Ctrl+M, M Ctrl+Y Ctrl+F2
Save All New File New Project
Ctrl+Shift+S Ctrl+N Ctrl+Shift+N

Build

Build Project Build Solution Clean Solution
Shift+F6 F6 ?

Debug

Stop Debugging Call Stack Quick Watch Delete All Breakpoints
Shift+F5 Ctrl+Alt+C Ctrl+D, Q Ctrl+Shift+F9

Test

Run All Tests In Context Run All Tests Debug Test In Context View Test Explorer
Ctrl+R, T Ctrl+R, A ? ?

Misc

Open Solution Explorer Zoom In Zoom Out Bookmark Window
Ctrl+W+S Ctrl+Shift+. Ctrl+Shift+, Ctrl+K, Ctrl+W
Pin Window Pin Document Navigate Backward Navigate Forward
? ? Ctrl+- Ctrl+Shift+-
Full Screen Quick Actions Bookmark Window Go To All
Shift+Alt+Enter Ctrl+. Ctrl+K, Ctrl+W Ctrl+, ?
Query All Server Explorer Error List Toggle Bookmark
Ctrl+Q Ctrl+Alt+S Ctrl+W, E Ctrl+B, T

References

For a detailed list of shortcuts, I use that http://visualstudioshortcuts.com

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment