Template Windows
Template Windows allow you to edit CodeSmith templates, as well as to view the generated code from templates and the compiled source code that CodeSmith creates from templates. Each template window can have up to three tabs:
- The Template tab contains the template itself.
- The Output tab contains the code generated from the template.
- The Compiled Source tab contains the source code that CodeSmith builds from the template.
You can have multiple template windows open at the same time in CodeSmith Studio. When you do the tabs at the top of the Template Window are used to switch between different templates, and the tabs at the bottom of the Template Window are used to switch between different views of the selected template. In the screenshot below, CodeSmith Studio is displaying the output of the CSSortedList.cst template.
This feature is only available in the Professional Edition of CodeSmith.