You are not Logged in
Would you like to Login or Register

Today is: Friday, 21 November, 2008
Check this months hot topics

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
kick it on DotNetKicks.com del.icio.us digg Mister Wong YahooMyWeb Reddit Furl Spurl blogmarks
Paul Hayman Skype
Author : Paul Hayman
Published : Tuesday, 13 June, 2006

Paul is the COO of kwiboo ltd consultant and has more than a decade of 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.

September 29, 2006 - 10: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 ;-)

October 03, 2006 - 8:13 PM

Add Comment

Enter your comment below and it will be submitted for moderation.

Your Name

Add Tag

Please enter tags for this article, seperated by semi-colon ;

View Tag's by : # articles | # views