Click here to Skip to main content
65,938 articles
CodeProject is changing. Read more.
Articles
(untagged)

Useful Shortcuts for Coders [VS]

0.00/5 (No votes)
27 Sep 2010 1  
Visual Studio keyboard bindings:201020082005 Followings are some useful shortcuts for coders:Copy a single line - CTRL+C [Move the insertion

This articles was originally at wiki.asp.net but has now been given a new home on CodeProject. Editing rights for this article has been set at Bronze or above, so please go in and edit and update this article to keep it fresh and relevant.

Visual Studio keyboard bindings:

2010
2008
2005 

Followings are some useful shortcuts for coders:

Copy a single line - CTRL+C [Move the insertion point at the begin or end and press space bar, then press the shortcut key combination]

 Cut a single line - CTRL+X [Move the insertion point at the begin or end and press space bar, then press the shortcut key combination]

Comment a line - CTRL+K, CTRL+C [Keep the insertion point any where on line and press ]

UnComment a line - CTRL+K, CTRL+U [Keep the insertion point any where on line and press ]

Put/Remove a break point - F9

Remove all break points as once - CTRL+SHFT+F9

Expand/Collapse a region- CTRL+M, CTRL+M

Intellisense - Ctrl+Space  [Press CTRL again make the drop down transparent]

Build Solution - Ctrl+Shft+B

Expand All regions - Ctrl+M+P

Collapse All regions - Ctrl+M+O

New Break Point - Ctrl+B

Switch to Code view - F7

Switch to Html  view - SHIFT + F7

Html ParameterInfo - CTRL + SHIFT + SPACEBAR

GoTo window - CTRL + G

CompleteWord - ALT + RIGHT ARROW
                        CTRL + SPACEBAR

Comment Selection - CTRL + K, CTRL + C

Uncomment Selection - CTRL + K, CTRL + U

Line Cut - CTRL + L

Line Delete - CTRL + SHIFT + L

Make Lowercase - CTRL + U

Make Uppercase - CTRL + SHIFT + U

Format .aspx/.cs File - CTRL + K, CTRL + D

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here