IntelliJ IDEA 2020.1 Help

Template Languages

File | Settings | Languages & Frameworks |Java Template Languages for Windows and Linux
IntelliJ IDEA | Preferences | Languages & Frameworks | Java Template Languages for macOS
Ctrl+Alt+S
the Settings/Preferences icon

Template languages pane

Item

Description

Template language

Select the desired template language for your project from the 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 the Add button to show the list of available file types, and choose the desired one.
Press the Remove button to delete the selected file type. Note that the default file types (HTML, XHTML, and XML) may not be deleted.

Last modified: 15 April 2020