Home / ASP.NET Wiki / Visual Studio / Useful Shortcuts for Coders [VS]

Useful Shortcuts for Coders [VS]

 Rate It (6)

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

Revision number 13, Monday, September 27, 2010 6:09:43 PM by ikernels

Comments

nice one. But i think that this may change accoridnt to the vs settings. because in my vs for comment a line - CTRL + M + CTRL +M

Shortcuts

Table of Contents

Top Wiki Contributors

(last 30 days)

  1. abiruban (1)