PyCharm 2018.2 Help

Python Template Languages

File | Settings | Python Template Languages for Windows and Linux
PyCharm | Preferences | Python Template Languages for macOS
icons general settings svg

Use this page to select the template language to be used in each of the projects opened in the same window, specify template folders.

Projects pane




This pane displays the list of projects, opened in the same window. The first project in the list is the primary project.

Template languages pane



Template language

Select the desired template language for your project from the drop-down list. For example, you can mark your project as using Django templates even if it is not a Django project.

The available template languages are:

Template file types

In this section, specify the types of files, where templates will be recognized.
Press icons general add to show the list of available file types, and choose the desired one.
Press icons general remove svg to delete the selected file type. Note that the default file types (HTML, XHTML, and XML) may not be deleted.

Last modified: 21 November 2018

See Also

Language and Framework-Specific Guidelines: