Creating Code Constructs Using Surround Templates
This section describes how to wrap fragments of code according to surround templates.
To surround a block of code with a live template
- In the editor, select the piece of code to be surrounded.
- Do one of the following:
- On the main menu, choose Code | Surround With Live Template... .
- Press Ctrl+Alt+J.
- Select the desired template from the suggestion list.
Last modified: 4 February 2015