Rational Developer for System z

Surrounding selected statements with a code template

Use the Surround with edit menu item to surround selected statements with a code template.

About this task

You can create your own templates and customize existing templates on the Template preference page.

Procedure

  1. Highlight the statements to be surrounded with a code template.
  2. Click Source > Surround With. A list of templates that are valid for the selection are displayed.
  3. Select the desired template to insert. The surrounded text is used to populate any variables in the code template.

Feedback