Tuesday, June 22, 2010

Keyboard Shortcuts for c#

Navigation
Ctrl+Tab Switch documents
Ctrl+Shift+Tab Reverse switch documents
Ctrl+kk Drop a bookmark
Ctrl+kn Itterate through bookmarks
F7 Switch from HTML to Codebehind view
Shift+F7 Switch from Codebehind to HTML view
Ctrl+- Navigate backward through last cursor locations
F12 Goto Definition
Ctrl+] Jump to matching brace

Editing
Ctrl+c Copy a whole line
Ctrl+v When a whole line in the clipboard (as above) this will instet a whole copied line.. handy for quick duplication
Ctrl+u Change to lower case
Ctrl+Shift+U Change to UPPER case

Macros
Ctrl+Shift+R Record a quick Macro
Ctrl+Shift+P Run the quick Macro you just recorded

Comments
Ctrl+kc Comment out selected lines
Ctrl+ku Uncomment selected lines

Formatting
Ctrl+kd Autoformat selected lines

No comments:

Post a Comment