Skip to content

mtoader/idea-handlebars

 
 

Repository files navigation

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).

NEW: Template formatting

The latest release now includes a full template formatter. Full release notes on the plugin repository page.

  • If you were running the beta, you can switch back to the released verion as follows:
    • Right-click the beta in the "Settings->Plugins" list and choose "Uninstall"
    • Re-enable the released version, Right-click and choose "Reload List of Plugins" to find the latest version

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
  • Auto-insert of closing tags
  • Matched mustache pair highlighting
  • Full HTML highlighting, code completion, inspections, formatting and commenting for the HTML content in your templates
  • By default, files with the ".handlebars", ".hbs" or ".mustache" extensions are handled by this plugin

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:

About

IDEA-Handlebars adds support for Handlebars and Mustache templates to IDEs based on the Intellij IDEA platform

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 99.6%
  • Shell 0.4%