Difference between revisions of "Visual Studio keys"

From Jens' Hjørne
Jump to navigation Jump to search
m
m
Line 7: Line 7:
 
|F12|| ||Go to definition or implementation (depending on if it's implented through an interface or not)|| ||N/A|| ||
 
|F12|| ||Go to definition or implementation (depending on if it's implented through an interface or not)|| ||N/A|| ||
 
|-
 
|-
−
|Ctrl+F12|| ||Find usages|| ||N/A|| ||ReSharper functionality
+
|<Shift>+F12||&nbsp;||Find usages||&nbsp;||N/A||&nbsp;||ReSharper functionality
 
|}
 
|}
  

Revision as of 11:11, 12 October 2016

Moving & Searching

Key   Function   SSMS   Comment
<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  
<Shift>+F12   Find usages   N/A   ReSharper functionality

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  
<Ctrl>+R, R   Refactor -> Rename