Templates
File | Settings | Languages & Frameworks | JavaScript | Templates for Windows and Linux
JetBrains Rider | Settings or Preferences | Languages & Frameworks | JavaScript | Templates for macOS
CtrlAlt0S
note
Preferences configurable on this page are saved using the mechanism of directory-based settings.
Required plugins:
JavaScript and TypeScript
- The plugin is bundled with JetBrains Rider and enabled by default.
Handlebars/Mustache
or EJS
- Install the plugin on the Settings | Plugins page, tab Marketplace.
On this page, configure processing of EJS inclusions, Handlebars expressions, and Mustache templates in JetBrains Rider.
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 JetBrains Rider. 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 not bundled with JetBrains Rider, but it can be installed on the Settings | Plugins page, tab Marketplace, as described in Installing plugins from JetBrains Marketplace. |
EJS | In this area, specify delimiters for inclusions of EJS in your code. Based on these delimiters, JetBrains Rider will recognize and process such inclusions correctly. A pair of delimiters is also referred to as execute tag.
|