Nunjucks for IntelliJ
First-class Nunjucks templating support for IntelliJ-based editors.
Get it on JetBrains Marketplace €9 · one-time purchase
Works with your JetBrains IDE
- PhpStorm
- PyCharm
- WebStorm
- …and other IntelliJ-based editors
What you get
Syntax highlighting
Proper highlighting for Nunjucks tags, filters, and expressions inside .njk and .html files.
Jump to definition
⌘-click (or Ctrl-click) on an {% include %}, {% extends %}, or {% import %} path to open the referenced template instantly.
Template-aware editing
Bracket matching, indentation, and code folding that understands Nunjucks blocks.
Lightweight
No bloat. Install it, restart, get back to writing templates.
One-time, no subscriptions
Pay €9 once on the JetBrains Marketplace and use the plugin for as long as you like.
Help & FAQ
Which IDEs are supported?
Any IntelliJ-based editor: IntelliJ IDEA, PhpStorm, PyCharm, WebStorm, RubyMine, GoLand, RustRover, CLion, DataGrip, and Android Studio. As long as the IDE supports plugins from the JetBrains Marketplace, this one will work.
How do I install it?
Open your IDE, go to Settings → Plugins → Marketplace, search for “Obra Nunjucks”, and click Install. Restart the IDE when prompted.
Which file extensions does it recognise?
Out of the box, the plugin handles .njk files. You can also associate .html, .j2, or any custom extension with the Nunjucks file type via Settings → Editor → File Types.
Why doesn’t my syntax highlighting show up?
The IDE needs to know which files to treat as Nunjucks. Open Settings → Editor → File Types, find Nunjucks in the list, and add the patterns you use — for example *.njk, *.nunjucks, or even *.html. Reopen the file and the highlighting will appear.
Does ⌘-click work for custom template paths?
Yes. The plugin resolves {% include %}, {% extends %}, and {% import %} paths against your project root. If your templates live in a subdirectory, mark it as a Resource Root and the plugin will follow paths from there.
Is the €9 a subscription?
No. It is a one-time purchase. You keep using the version you bought for as long as you like, on as many machines as you personally use.
Do I get updates?
Yes. Bug fixes and compatibility updates for current JetBrains IDE versions are included.
Can I get a refund?
Refunds are handled through the JetBrains Marketplace under their standard refund policy. Reach out at hello@obra.studio if you run into trouble.
Where can I report a bug or request a feature?
Email hello@obra.studio with as much detail as you can: IDE version, plugin version, and a minimal template that reproduces the issue.