Difference between revisions of "Visual Studio keys"

From Jens' Hjørne
Jump to navigation Jump to search
m
m
Line 8: Line 8:
 
==Editing==
 
==Editing==
 
{|
 
{|
−
!align="left"|Key!! !!align="left"|Function!! !!align="left"|MSSMS
+
!align="left"|Key!! !!align="left"|Function!! !!align="center"|MSSMS
 
|-
 
|-
 
|<Alt>+<Shift>+<Arrow keys>||&nbsp;||Highlight rectangular block||&nbsp;||+
 
|<Alt>+<Shift>+<Arrow keys>||&nbsp;||Highlight rectangular block||&nbsp;||+
Line 14: Line 14:
 
|<Tab>||&nbsp;||Indent highlighted block||&nbsp;||+
 
|<Tab>||&nbsp;||Indent highlighted block||&nbsp;||+
 
|-
 
|-
−
|<Ctrl>+K, <Ctrl>+D||&nbsp;||Fix indentation for current file||&nbsp;||+
+
|<Ctrl>+K, <Ctrl>+D||&nbsp;||Fix indentation for current file||&nbsp;||
 
|-
 
|-
 
|<Shift>+<Tab>||&nbsp;||Unindent highlighted block||&nbsp;||+
 
|<Shift>+<Tab>||&nbsp;||Unindent highlighted block||&nbsp;||+

Revision as of 12:48, 19 March 2015

Moving & Searching

Key   Function   MSSMS
<Ctrl>+¨   Search Solution Explorer (in filenames)   N/A

Editing

Key   Function   MSSMS
<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