Handlebars/Mustache template plugin for Jetbrains IDEs
IDEA-Handlebars adds support for Handlebars and Mustache templates to IDEs based on the Intellij IDEA platform (IntelliJ IDEA, IDEA Community Edition, RubyMine, PhpStorm, WebStorm, PyCharm, AppCode).
Jetbrains plugin repository page
The new release includes the following:
- handles the latest Handlebars features
- adds comment folding
- enables a consistent commenter when editing Handlebars files
- updates look and feel to integrate properly with alternate themes, including Darcula
- NOTE: requires your IDE's build number to be greater than
128.18
(for IDEA, this means version at least12.1
. Other IDEs should catch up soon)
- NOTE: requires your IDE's build number to be greater than
- To install the latest release (and get automatic updates), install this plugin using your IDE's plugin manager:
- In Settings->Plugins, choose "Browse repositories". Find "Handlebars/Mustache" on the list, right-click, and select "Download and Install"
- Syntax error inspections
- Configurable syntax highlighting
- Template formatter
- Code folding for mustache blocks and comments
- Auto-insert of closing tags
- Matched mustache pair highlighting
- Full highlighting, code completion, inspections, formatting and commenting for the content in your templates (by default HTML, configurable in "Settings->Template Data Languages" and "Settings->File Types")
- By default, files matching
*.handlebars
,*.hbs
or*.mustache
are handled by this plugin. Configure other file patterns inSettings->File Types
Contributions welcome!
There's a variety of ways you can help this project out:
- Contributing without coding
- File issues for bugs, suggestions and requests. This is a great and easy way to help out
- Fluent in multiple languages? Provide a translation!
- Contributing code
- Have a gander at the contributor guidelines
- The developer setup instructions should get you up and running in no time
- Look at contrib-welcome issues for ideas, or submit an idea of your own