Click here to Skip to main content
15,891,633 members
Articles / Shift
Article

Useful Shortcuts for Coders [VS]

Rate me:
Please Sign up or sign in to vote.
0.00/5 (No votes)
11 Oct 2013CPOL1 min read 4.3K  
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, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
United States United States
The ASP.NET Wiki was started by Scott Hanselman in February of 2008. The idea is that folks spend a lot of time trolling the blogs, googlinglive-searching for answers to common "How To" questions. There's piles of fantastic community-created and MSFT-created content out there, but if it's not found by a search engine and the right combination of keywords, it's often lost.

The ASP.NET Wiki articles moved to CodeProject in October 2013 and will live on, loved, protected and updated by the community.
This is a Collaborative Group

754 members

Comments and Discussions

 
-- There are no messages in this forum --