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

<<  November 2024  >>
MoTuWeThFrSaSu
28293031123
45678910
11121314151617
18192021222324
2526272829301
2345678

Disclaimer

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

© Copyright 2024