Difference between revisions of "Visual Studio keys"

From Jens' Hjørne
Jump to navigationJump to search
m
m
Line 5: Line 5:
 
|<Ctrl>+¨||&nbsp;||Search Solution Explorer (in filenames)||&nbsp;||N/A||&nbsp;||
 
|<Ctrl>+¨||&nbsp;||Search Solution Explorer (in filenames)||&nbsp;||N/A||&nbsp;||
 
|-
 
|-
|F12||&nbsp;||Go to definition or implementation (depending on if it's implented through an interface or not)||&nbsp;||N/A||&nbsp;||
+
|F12||&nbsp;||Go to definition or implementation||&nbsp;||N/A||&nbsp;||Whether you are taken to declaration or implementation depend on if it's implemented through an interface or not.
 
|-
 
|-
 
|<Shift>+F12||&nbsp;||Find usages||&nbsp;||N/A||&nbsp;||ReSharper functionality
 
|<Shift>+F12||&nbsp;||Find usages||&nbsp;||N/A||&nbsp;||ReSharper functionality

Revision as of 11:13, 12 October 2016

Moving & Searching

Key   Function   SSMS   Comment
<Ctrl>+¨   Search Solution Explorer (in filenames)   N/A  
F12   Go to definition or implementation   N/A   Whether you are taken to declaration or implementation depend on if it's implemented through an interface or not.
<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