ActiveSnippets - Imagine Visual Studio 2005 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.
Configuring an ActiveSnippet is easy and can be done from within Visual Studio! You simply have to point to a template filepath, an optional alias, and the extension of the language your template references and you will be able to reference that template from within Visual Studio.