Andrew's Blog

Random Thoughts of an ASP.Net Code Monkey

Code Snippets

December 11, 2006 21:13 by Andrew Westgarth

I was talking to a colleague the other day and introduced him to Code Snippets. This is one of many features which are in Visual Studio 2005 and I'm sure that there are many other I don't know about but would find useful. My colleague was amazed at the simplicity but also the potential of this feature. I have developed my own snippets and they are very easy to do. To use code snippets, from within VS2005, go to Edit -> Intellisense -> Insert Snippet and this displays the snippet manager for you to select a snippet from. Snippets are great for removing the repetitiveness of entering the same structures many times, i.e. property constructs, if statements and try catch loops. Take a look at them and let me know what you think.

Also let me know your favourite tip/treat for Visual Studio 2005.



MCTS

Post calendar

<<  June 2019  >>
MoTuWeThFrSaSu
272829303112
3456789
10111213141516
17181920212223
24252627282930
1234567

Disclaimer

The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway.

© Copyright 2019