PhpStorm 2021.1 Help

Template Data Languages

File | Settings | Languages and Frameworks | Template Data Languages for Windows and Linux
PhpStorm | Preferences | Languages and Frameworks | Template Data Languages for macOS

To get coding assistance for template data languages, specify where in your project those languages are used.

You can set a default template data language for a project and optionally assign custom template languages for files and directories.

ItemDescription
Project LanguageFrom this list, choose the default template data language for the entire project.
PathThe field shows a list of files and folders where you want to apply a custom template data language instead of the default one set for the entire project. To add an item to the list, click Add icon and choose the required file or folder in the dialog box that opens.
LanguageTo set a custom template data language for a file or directory, click the Language cell to the right of it and choose the language from the list.
Last modified: 26 August 2021