Difference between revisions of "Visual Studio keys"

From Jens' Hjørne
Jump to navigation Jump to search
m
m
Line 29: Line 29:
 
|-
 
|-
 
|<Ctrl>+K, <Ctrl>+F||&nbsp;||Format selection||&nbsp;||
 
|<Ctrl>+K, <Ctrl>+F||&nbsp;||Format selection||&nbsp;||
 +
|-
 +
|<Ctrl>+R, R||&nbsp;||Refactor -> Rename||&nbsp;||
 
|}
 
|}
  
 
[[Category:Værktøjer, Programmering]][[Category:Keyboard shortcuts]]
 
[[Category:Værktøjer, Programmering]][[Category:Keyboard shortcuts]]

Revision as of 11:07, 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  
<Ctrl>+R, R   Refactor -> Rename