Improving Developer Productivity with Visual Studio .NET Macros

by javery on March 29, 2005

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

{ 3 comments }

Dave March 29, 2005 at 6:06 am

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

Jim Holmes March 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.

James Avery March 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.

Comments on this entry are closed.

Previous post: dotBaseball

Next post: Microsoft, Blogging, Transparency, and Me.