65.9K
CodeProject is changing. Read more.
Home

Useful Shortcuts for Coders [VS]

emptyStarIconemptyStarIconemptyStarIconemptyStarIconemptyStarIcon

0/5 (0 vote)

Oct 11, 2013

CPOL

1 min read

viewsIcon

4450

Visual Studio keyboard bindings:201020082005 Followings are some useful shortcuts for coders:Copy a single line - CTRL+C [Move the insertion

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