nunjuks templating language
Will Webstorm add support for Templating Language Nunjuks *.njk (used in SSG 11ty) any time soon ?
I was surprised when I read Paul Everitt's tutorial on Webstorm blog https://blog.jetbrains.com/webstorm/2022/04/using-storybook-with-11ty/
and then tried to use 11ty in Webstorm and found it does not support nunjuks templating language.
Please sign in to leave a comment.
No, it's not supported officially. Please follow https://youtrack.jetbrains.com/issue/WEB-8743 for updates; as a workaround you can try using the Twig plugin: https://plugins.jetbrains.com/plugin/7303-twig-support. The syntax is similar
Thanks.
Twig plugin helped add syntax highlighting and IDE features to nunjuks.
Then it screwed up JSDoc annotations, generating warning about the usage of {{ }} everywhere.
>Then it screwed up JSDoc annotations, generating warning about the usage of {{ }} everywhere
Please could you elaborate on this?
I'm always looking for ways to “Justify” the money we spend on Jetbrains tools.
It's tough when M$ puts out a free editor that 50% to 60% of developers use.
I do not have any idea how much effort it takes to “Support” a tempalte language like Nunjucks.. but, I sure know that each time I find something that “is not supported by Jetbrains” but is on VSCode, it's a punch in the arm.
I currently have 10 develoeprs using Jetbrains, 9 are on all products pack. It's a hard sell, but I'd sure like to see more “wins” with the platform, and fewer losses.
- Not supporting a template language like Nunjucs that has been around for years, is a loss
Elena Pogorelova
>Then it screwed up JSDoc annotations, generating warning about the usage of {{ }} everywhere
> Please could you elaborate on this?
Like this :
Thanks for clarification. It looks like a problem with Twig plugin.
Could you please submit this issue to https://youtrack.jetbrains.com/issues/WI?