Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
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
resources
src/com/dmarcotte/handlebars
test
.gitignore
LICENSE.txt
readme.md

readme.md

IDEA-Handlebars: Handlebars template plugin for Jetbrains IDEs

IDEA-Handlebars adds support for Handlebars templates to IDEs based on the Intellij IDEA platform (IntelliJ IDEA, IDEA Community Edition, RubyMine, PhpStorm, WebStorm, PyCharm, AppCode).

NEW: Auto-insert of close tags

The latest release adds auto-inserting of closing tags and improves the plugin's charset defaulting

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" on the list, right-click, and select "Download and Install"

Features

  • Syntax error highlighting
  • Configurable syntax highlighting
  • Auto-insert of closing tags
  • Matched mustache pair highlighting
  • Full HTML highlighting, code completion, inspections, formatting and commenting for the HTML content in your Handlebars templates
  • Since Handlebars is a super-set of Mustache syntax, this plugin should greatly improve IDEA's editing experience for Mustache templates too
  • By default, files with the ".handlebars", ".hbs" or ".mustache" extensions are handled by this plugin

Future directions

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

Feedback

Special thanks

  • Bazaarvoice, my fantastic employer, for providing the time to work on this
  • Yehuda Katz for creating and maintaining Handlebars
  • The Jetbrains team for making such a great, extensible IDE platform
  • Extra special thanks to Jan Dolecek and the intellij-latte project (for having a clean code-base to learn from, and taking the time to make posts like this gem; these went a long way to making this plug-in possible)
Something went wrong with that request. Please try again.