Saturday, November 5, 2011

Cool Tips to speed up in visual studio 2010 - Short keys

If you are .Net developer or Student and you are using Visual Studio in day to day life then following tips can speed up your productivity on that.

The best way to use any tools by knowing the hot key (short key) to do anythings with that tools
Visual Studio is vast product and you can do many thing as your mind can think

There are some hot key which are beneficial to your daily programing , practice on that

Code Outline:
Ctrl+M , M – Fold/Unfold the current code block
Ctrl+M, L – Unfold all
Ctrl+M, P – Stop outlining 
Ctrl+M, O – Fold all



Editing:
Block Selection: – press Alt and then select the area you want with your mouse.




Line No in Code – Tools>Options>Text Editor>All Languages>General>Line numbers.
F4: Property Window
Ctrl+Alt+L – Solution Explorer
Ctrl+Alt+O – Output Window
Ctrl+Alt+K – Task List
Ctrl+Shift+Space – intellisense window.
Ctrl+R – Word Wrap

BookMark:
Ctrl+K, K – Create/Remove Bookmark
Ctrl+K, N  - Move to next bookmark
Ctrl+K, P –  Move to previous bookmark
Ctrl+K, L – Clear all bookmarks

Code Format:
Ctrl+K, F – Auto-format selection
Ctrl+U - Convert to lower case
Ctrl+Shift+U – Convert to upper case
Ctrl+K, C – Comment selection
Ctrl+K, U - Uncomment selection

Running/Debugging:
F5 - Start Application in debug Mode
Ctrl+F5 – Start Without debugging
F11 – Step into
F10 – Step over.
Shift + F11 – Step Out.
Shift + F5 – Stop debugging.
Ctrl+Shift+F5 - Restart Debugging.

You can download full list of short keys from this link

Happy Programming , cheers!

No comments: