Difference between revisions of "Visual Studio keys"
Jump to navigation
Jump to search
m |
m |
||
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
| − | == | + | ==Navigating & Searching== |
{| | {| | ||
!align="left"|Key!! !!align="left"|Function!! !!align="left"|SSMS!! !!align="left"|Comment | !align="left"|Key!! !!align="left"|Function!! !!align="left"|SSMS!! !!align="left"|Comment | ||
| Line 5: | Line 5: | ||
|<Ctrl>+¨|| ||Search Solution Explorer (in filenames)|| ||N/A|| || | |<Ctrl>+¨|| ||Search Solution Explorer (in filenames)|| ||N/A|| || | ||
|- | |- | ||
| − | |F12|| ||Go to definition or implementation|| ||N/A|| ||Whether you | + | |F12|| ||Go to definition or implementation|| ||N/A|| ||Whether you're taken to declaration or implementation depend on if it's implemented through an interface or not. |
|- | |- | ||
|<Shift>+F12|| ||Find usages|| ||N/A|| ||ReSharper functionality | |<Shift>+F12|| ||Find usages|| ||N/A|| ||ReSharper functionality | ||
| + | |- | ||
| + | |<Ctrl>+<Minus key>|| ||Navigate backwards|| ||N/A|| || | ||
| + | |- | ||
| + | |<Ctrl>+<Shift>+<Minus key>|| ||Navigate forwards|| ||N/A|| || | ||
|} | |} | ||
| Line 32: | Line 36: | ||
|<Ctrl>+R, R|| ||Refactor -> Rename|| || | |<Ctrl>+R, R|| ||Refactor -> Rename|| || | ||
|} | |} | ||
| + | |||
| + | https://weblogs.asp.net/scottgu/search-and-navigation-tips-tricks-with-visual-studio | ||
[[Category:Værktøjer, Programmering]][[Category:Keyboard shortcuts]] | [[Category:Værktøjer, Programmering]][[Category:Keyboard shortcuts]] | ||
Latest revision as of 14:25, 12 October 2016
| Key | Function | SSMS | Comment | |||
|---|---|---|---|---|---|---|
| <Ctrl>+¨ | Search Solution Explorer (in filenames) | N/A | ||||
| F12 | Go to definition or implementation | N/A | Whether you're taken to declaration or implementation depend on if it's implemented through an interface or not. | |||
| <Shift>+F12 | Find usages | N/A | ReSharper functionality | |||
| <Ctrl>+<Minus key> | Navigate backwards | N/A | ||||
| <Ctrl>+<Shift>+<Minus key> | Navigate forwards | N/A |
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 |
https://weblogs.asp.net/scottgu/search-and-navigation-tips-tricks-with-visual-studio