About this task
The PL/I Editor supports the use of code templates to promote
efficiency and consistency in creating commonly and frequently used
blocks of code. The
Templates preference page
provides tools for creating, editing, removing, importing, and exporting
code templates. Rational® Developer
for System z® ships with
a set of default templates that you can use as-is or edit to suit
your needs.
To open the
Templates preference
page:
- Click Window > Preferences.
- Click + to expand the PL/I >
Templates entry in the preferences list.
- Click Templates.
The
Templates window contains the following
fields:
- Template table
- Lists defined templates by Name, Context, Description,
and Auto Insert option. The Context indicates
the section of a source file in which the template is valid. The Auto
Insert option indicates if the template is automatically
inserted into a new source file. The check box beside the template
name indicates if the template is enabled.
- Preview
- Shows the content of the template.