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
- Highlight the statements to be surrounded with a code template.
- Click . A list of templates that are valid
for the selection are displayed.
- Select the desired template to insert. The surrounded text
is used to populate any variables in the code template.