Difference between revisions of "Visual Studio keys"

From Jens' Hjørne
Jump to navigation Jump to search
m
m
Line 1: Line 1:
 
==Moving & Searching==
 
==Moving & Searching==
 
{|
 
{|
−
!align="left"|Key!! !!align="left"|Function!! !!align="left"|SSMS
+
!align="left"|Key!! !!align="left"|Function!! !!align="left"|SSMS!! !!align="left"|Comment
 
|-
 
|-
−
|<Ctrl>+¨||&nbsp;||Search Solution Explorer (in filenames)||&nbsp;||N/A
+
|<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
+
|F12||&nbsp;||Go to definition or implementation (depending on if it's implented through an interface or not)||&nbsp;||N/A||&nbsp;||
 +
|-
 +
|Ctrl+F12||&nbsp;||Find usages||&nbsp;||N/A||&nbsp;||ReSharper functionality
 
|}
 
|}
  

Revision as of 10:48, 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  
Ctrl+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