Visual Studio keys

From Jens' Hjørne
Revision as of 11:47, 12 October 2016 by Jens (talk | contribs)
Jump to navigationJump to search

Moving & Searching

Key   Function   SSMS
<Ctrl>+¨   Search Solution Explorer (in filenames)   N/A
F12   Go to definition or implementation (depending on if it's implented through an interface or not)   N/A

Editing

Key   Function   SSMS
<Alt>+<Shift>+<Arrow keys>   Highlight rectangular block   +
<Tab>   Indent highlighted block   +
<Ctrl>+K, <Ctrl>+D   Fix indentation for current file  
<Shift>+<Tab>   Unindent highlighted block   +
<Ctrl>+K, <Ctrl>+C   Comment highlighted block   +
<Ctrl>+K, <Ctrl>+U   Uncomment highlighted block   +
<Ctrl>+E, D   Format document  
<Ctrl>+K, <Ctrl>+F   Format selection