Creating a Template for a Group of Files

See Also

You can create templates for groups of files. Doing so enables you to create several files at the same time. When you create files from a group template, the group file itself is not created.

To create a group template:

  1. In the Filesystems window, right-click the group you would like to turn into a template and choose Save As Template from the contextual menu.
  2. In the Save As Template dialog box, select a category for the template and click OK.
Tip In group templates, you can control how the new files are named. In the files you include in the group, incorporate the name of the group and delimit the group name with two underscores on each side. For example, you can create a group template named Sample that is associated with files named __Sample__Object.java and __Sample__Action.java. If you then select this template in the New wizard and type MyTrial in the Name field, two files are created:
  • MyTrialObject.java
  • MyTrialAction.java
See Also
Creating a Template
Creating a Group of Files
Modifying a Template
Using Macros in Templates

Legal Notices