Handy Keyboard Shortcuts for c# 2005

The following keyboard shortcuts I find invaluable. It's amazing how many people still use the mouse to do everything.

Document 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
Ctrl+- Navigate backward through last cursor locations

Code Navigation

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
Author Paul Hayman

Paul is the COO of kwiboo ltd and has more than 20 years IT consultancy experience. He has consulted for a number of blue chip companies and has been exposed to the folowing sectors: Utilities, Telecommunications, Insurance, Media, Investment Banking, Leisure, Legal, CRM, Pharmaceuticals, Interactive Gaming, Mobile Communications, Online Services.

Paul is the COO and co-founder of kwiboo (http://www.kwiboo.com/) and is also the creator of GeekZilla.

Comments

lee said:

thanks paul but this sort of work is to complicated for me.

29/Sep/2006 22:29 PM

phayman said:

Hi Lee,

Sorry to hear it is too complicated.. the way I see it is, if you're writing code (not dragging and dropping stuff) then it's much quicker to flip abou using the keyboard rather than reaching for the mouse.

My most frequenly used shortcuts have to be Alt+Tab (switch tab), F7 (code view), F12 (Goto Definition) and good old Ctrl+C / V for copying a whole line WITHOUT selecting anything.

Paul

03/Oct/2006 20:13 PM

Add Comment

Name
Comment
 

Your comment has been received and will be shown once it passes moderation.