PyCharm 2.7.2 Web Help

Simple template contains some fixed code that expands into plain text. When invoked and expanded in the editor, the code specified in the template is automatically inserted into your source code, replacing the abbreviation.

Parameterized template contains plain text and variables that enable user input.

Tip

If you need a dollar sign ($) in the template text, escape it by duplicating this character ($$).

After a template is expanded, variables appear in the editor as input fields whose values can be either filled in by the user or calculated by PyCharm automatically.

Surround templates work only with the blocks of selected text. Such templates place code before and after the selected block.

See Also

Procedures:

Reference:

Web Resources: