PyCharm Edu 3.5 Help

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

  1. In the editor, select the piece of code to be surrounded.
  2. Press Ctrl+Alt+J.
  3. Select the desired template from the suggestion list.

See Also

Last modified: 31 July 2017