Surrounding selected statements with a code template
Use the Surround With edit menu item to surround selected statements with a code template. 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 is displayed.
- Select the template that you want to insert. The surrounded text is used to populate any variables in the code template.