Difference between revisions of "Visual Studio keys"

From Jens' Hjørne
Jump to navigation Jump to search
m
m
Line 12: Line 12:
 
|<Alt>+<Shift>+<Arrow keys>||&nbsp;||Highlight rectangular block||&nbsp;||align="center"|+
 
|<Alt>+<Shift>+<Arrow keys>||&nbsp;||Highlight rectangular block||&nbsp;||align="center"|+
 
|-
 
|-
−
|<Tab>||&nbsp;||Indent highlighted block||&nbsp;||+
+
|<Tab>||&nbsp;||Indent highlighted block||&nbsp;||align="center"|+
 
|-
 
|-
 
|<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;||align="center"|+
 
|-
 
|-
−
|<Ctrl>+K, <Ctrl>+C||&nbsp;||Comment highlighted block||&nbsp;||+
+
|<Ctrl>+K, <Ctrl>+C||&nbsp;||Comment highlighted block||&nbsp;||align="center"|+
 
|-
 
|-
−
|<Ctrl>+K, <Ctrl>+U||&nbsp;||Uncomment highlighted block||&nbsp;||+
+
|<Ctrl>+K, <Ctrl>+U||&nbsp;||Uncomment highlighted block||&nbsp;||align="center"|+
 
|-
 
|-
 
|<Ctrl>+E, D||&nbsp;||Format document||&nbsp;||
 
|<Ctrl>+E, D||&nbsp;||Format document||&nbsp;||

Revision as of 12:50, 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