Vtlvariable in javascript


I've managed to create support for nashorn-based template engine and it would be very handy to make use of vltvariable - just to declare variables and their types at the beginning of template to make use of autocompletion etc. But it seems that it is not working for javascript at all. What I tried is the following:


and some similar variations, but without any success. I haven't found any extension point redarding vtl variables either. Any ideas how to make use of @vtlvariable in javascript?

Original message URL: https://devnet.jetbrains.com/message/5539141#5539141

Please sign in to leave a comment.