Custom JS tag in *.ftl file
已回答
Hi, I have a custom macro (with nested directive) for declaring js code parts in ftl files:
<@script.javascript>
[...] some js code [...]
</@script.javascript>
This works great in freemarker but all js code in tags (macro call) : <@script.javascript> is recognized as a normal text.
I'm trying to define custom language Injection but with positive effect.
My custom injection settings (both not working):


Is any way to set up JS idea features in this tags?
请先登录再写评论。
There's no such possibility currently. I've filed a feature request, which you can vote/watch: https://youtrack.jetbrains.com/issue/IDEA-172671