How to extend the @elvariable comment option in jsp files

Answered

Currently you can provide information for used variables in jsp-files with (for instance):

<%--@elvariable id="token" type="java.lang.String"--%>

As soon as you add a whitespace after type, or add a custom attribute, intellij no longer recognizes the @elvariable comment and thus, the used variable.
I'd like to extend that comment or even make a completely new one.

Unfortunately, I am quite new to the plugin development department and don't know if that's even possible, or how to implement such a feature.

Is there something I could use?

Thanks in advance!

1 comment
Comment actions Permalink

Please vote for the related issue: https://youtrack.jetbrains.com/issue/IDEA-86538.

JSP plugin is not open source, so there is no easy way to extend its functionality.

0

Please sign in to leave a comment.