Andrew's Blog
Random Thoughts of an ASP.Net Code Monkey

Code Snippets

December 12, 2006 05: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.


Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Related posts

Add comment


(Will show your Gravatar icon)  

  Country flag

[b][/b] - [i][/i] - [u][/u]- [quote][/quote]



Live preview

July 5. 2008 18:52