This section describes how to wrap fragments of code according to surround templates.
- In the editor, select the piece of code to be surrounded.
- Do one of the following:
- On the main menu, choose .
- Press SurroundWithLiveTemplateCtrl+Alt+JCtrl+Alt+JCtrl+Alt+JCtrl+Alt+JCtrl+Alt+JCtrl+Alt+JCtrl+Alt+JAlt Command JAlt Command JAlt Command J.
- Select the desired template from the suggestion list.