The smartest Intellij plugin for the Soy templating language.
Adds syntax highlighting, autocompletion and static analysis for your closure template files.
Install the plugin directly from your IDE or the Jetbrains plugin repository.
Bamboo Soy aims to provide super-fast, no-compromise language support for Soy in IntelliJ.
- Syntax highlighting with complete HTML support,
- References, go-to definition, find usage,
- Structure view,
- Auto-formatting,
- Documentation lookup,
- YCM-style autocompletion (just press Ctrl-Space anywhere to get the suggestions)
- Template and namespace identifiers,
- Identifiers in scope,
- Parameters and types,
- Keywords and literals,
- Live templates (snippets) for
xid
,css
,if-else
,call
,delcall
, ... - Static analysis inspections for
- Missing required or invalid parameters,
- Unused parameters or variables,
- Wrong usage of double quotes for Soy strings,
- Understands and preserves doc comment structure on enter,
- Latest syntax support (
@inject
,xid
andcss
function expressions, ...),
As a bonus, the parser was designed to support incomplete code constructs & unbalanced tags (things don’t break when you type).
See the release notes page.
Small and large contributions welcome! For new features or substantial changes, please open an issue beforehand so that it can be discussed.
For all the details, see the contributing page.