Templates
File | Settings | Languages & Frameworks | JavaScript | Templates for Windows and Linux
WebStorm | Settings | Languages & Frameworks | JavaScript | Templates for macOS
CtrlAlt0S
On this page, configure processing of EJS inclusions, Handlebars expressions, and Mustache templates in WebStorm.
Make sure the JavaScript and TypeScript and EJS or Handlebars/Mustache required plugins are enabled on the Settings | Plugins page, tab Installed. For more information, refer to Managing plugins.
Item | Description |
---|---|
Handlebars/Mustache | In this area, configure processing of Handlebars expressions and Mustache templates in WebStorm. The settings specified on this page apply to dedicated Handlebars and Mustache files that have the extension .hbs or .mustache respectively.
For more information about Handlebars expressions and Mustache templates, refer to http://handlebarsjs.com/. The area is only available when the Handlebars/Mustache plugin is installed and enabled. The Handlebars/Mustache plugin is bundled with WebStorm and activated by default. If the plugin is disabled, enable it on the Installed tab of the Settings | Plugins page, as described in Managing plugins. |
EJS | In this area, specify delimiters for inclusions of EJS in your code. Based on these delimiters, WebStorm will recognize and process such inclusions correctly. A pair of delimiters is also referred to as execute tag.
|
Thanks for your feedback!