29
Mar
05

Improving Developer Productivity with Visual Studio .NET Macros


Check out Scott Mitchell's excellent walk-through of using macros. In his example he walks you through creating a macro that will automatically generate a property for reading and writing to ViewState. (Aren't you tired of writing gets and sets yet?)

-James



Comments

3 Responses to “Improving Developer Productivity with Visual Studio .NET Macros“


  1. #1 Dave 3.29.2005 at 6:06 AM

    What? No love for my CreateProperty add-in? Gee, thanks ;-)

  2. #2 Jim Holmes 3.29.2005 at 2:59 PM

    When I was doing Java development, I loved using the Java Development Environment for Emacs. That package, coupled with a few others, provided quick, powerful code generation for a lot of different PIA drudgework.



    One keystroke would let you name a variable, then give you its definition and get/set methods all in one fell swoop. JDEE also has code expansion where you typed something like 'ife' and it would expand to a complete if-then-else block. Loops were also supported, along with a couple handfuls of other useful abbreviations.

  3. #3 James Avery 3.29.2005 at 3:01 PM

    You will appreciate 2005 then. :) They are adding code expansions where you will be able to do stuff just like that.