Friday, May 21, 2010

shortcuts for C# coders

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

No comments:

Post a Comment