Configuring Castalia : Code Templates: Creating CodeTemplates
Previous  Top  Next

Castalia allows you to create your own custom code templates. To create a template, you must first open the Code Template Editor. To open the Code Template Editor, choose Castalia Options from the Tools menu. Select the Code Templates branch of the options tree, and click the Template Editor button. The Code Template Editor will appear:

templateeditor

To create a new code template, press the Create New Template button (the + icon). You will be prompted for the name of your new template:

templatecreate  
 
Enter the name of your new template (you can always change it later), select the language to which the template will apply, and press OK to create the new template, or Cancel to discard the new template.

The new template will be created and selected in the template editor, with empty template text and the default properties applied. You can then procede to modify the template as with any other template. See Modifying Code Templates for more information.

See also: Code Templates, Modifying Code Templates, Configuring Code Templates