Skip to content
Handlebars and Mustache template support for Intellij IDEA platform IDEs
Java Handlebars Lex Other
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
META-INF
markdown_images
resources
src/com/dmarcotte/handlebars
test
.gitignore
LICENSE.txt
contributing.md
developer_environment.md
readme.md

readme.md

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

NEW: Template any language, Code folding

The latest release adds the ability to template any language and support for code folding for mustache blocks

Installing

  • 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"

Features

  • Syntax error inspections
  • Configurable syntax highlighting
  • Template formatter
  • Code folding for mustache blocks
  • 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 in Settings->File Types

Future directions

  • See the pulls and issues for a preview of in-progress and planned features

Contributing

Contributions welcome!

There's a variety of ways you can help this project out:

Something went wrong with that request. Please try again.