- Open the desired file for editing.
- Select a code fragment:

- Press invocation shortcut Ctrl+Alt+JCtrl+Alt+J. WebStorm suggests
the following surround:

- Select the desired template from the suggestion list. The code fragment is surrounded with empty tags:

- The caret rests within the opening one. On typing the tag name in the opening tag, the name is
automatically reproduced in the closing tag:


