Friday, March 11, 2011

Cool Tips to speed up in Visual Studio 2010-Part1

Today many programmer using VS2010 to development purpose for .net development, I would like to discuss here some cool feathers which i know in use it my daily life for development.

Snippets

Snippets is nothing but re-use your source code reduce effort of rewriting every time same code , In vs2010 Shortcut for snippets is CTR + K, X  .

It will display available snippets in VS2010 as follow  , You can move forward with TAB & backward with SHIFT-TAB , & hist enter when you copy  that portion of code to your IDE , this is valid both design side as well as code side.

[caption id="attachment_27" align="alignleft" width="300" caption="snippets"]snippets[/caption]

You can add your own code snippets & edit , delete also from Tools> Code Snippets Manager as per shown below

[caption id="attachment_29" align="alignright" width="300" caption="Code snippets Manager"]Code snippets Manager[/caption]

 

 

 

 

There are also some cool shortcuts to insert particular snippets.

Like to insert property  simply write prop & hit TAB 2 times .

write propfull to insert full property with private member.



Search others snippets on web make your life easier in world of development

We will see some other tips at next...

Enjoy Coding!!

No comments: