Dan Crevier's Blog

In search of a better name...

Visual Studio expansions

Mitch Denny describes Visual Studio expansions. This is a really nice feature in VS 2005 that lets you quickly insert templated code where you can fill in key information quickly. For example, you can type prop <TAB> <TAB> and then type in the type and name and you've got a fully filled out member variable with accessor. This saves lots of typing. It also helps out with some of those things you do less frequently. For example, it's got one for defining an attribute class. I do this infrequently enough that I have to look up an example for the details when I want to do it, but with the expansion, you've got the correct code at your fingertips. Mitch describes how to extend it by creating your own expansions.
Published Saturday, April 16, 2005 12:20 PM by dancre

Comments

No Comments
New Comments to this post are disabled

© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Microsoft
Page view tracker