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

What? No love for my CreateProperty add-in? Gee, thanks ;-)
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.
You will appreciate 2005 then. :) They are adding code expansions where you will be able to do stuff just like that.