Active Snippets

Imagine Visual Studio 2008 snippets, but with the full power of
CodeSmith available to execute any logic or access any complex metadata
(including database schema and xml data) to control the output of your
snippets.

After creating an alias for your ActiveSnippet, you can execute it like:

alias param1, param2, param3

and using the CTRL-E, CTRL-E keyboard shortcut

http://docs.codesmithtools.com/display/Generator/Using+ActiveSnippets

If you
would like to download the video, please download the flash file attached to this post.