PyCharm 2016.3 Help

Configuring Template Languages

This feature is supported in Professional edition only.

Before making use of a certain template language, configure it in the Python Template Languages page of the Settings dialog.

To configure a template language for a project

  1. Open the Settings/Preferences dialog box, and click the node Python Template Languages.
  2. In the Python Template Languages page, do the following:
    • From the Template language drop-down list, select the specific template language to be used in project.
    • In the Template file types area, specify the types of files, where template tags will be recognized.

      Note that in HTML, XHTML, and XML files templates are always recognized.

      Use Add and Remove buttons to make up the desired list of file types.

    • Specify the directories where the templates in project will be stored.

      To do that, open the Project Structure page, select a directory to be declared as a template directory, and click /help/img/idea/2016.3/template_folder_icon.png.

See Also

Language and Framework-Specific Guidelines:

Last modified: 23 December 2016