PyCharm Edu 2017.3 Help

#parse Directive

Using the #parse directive, you can include other templates in file templates. This is useful for inserting reusable contents (e.g. standard headers, copyright statements, etc.) into multiple file templates.

The syntax for the #parse directive is:


The templates that can be referenced like this in other templates, are shown on the Includes tab of the File and Code Templates settings page.

Last modified: 30 March 2018