How to activate syntax coloring for javascript in

2019-07-21 17:26发布

问题:

there are situations when javascript really has to be in a JSP page, instead of having it in a separate files.

And some frameworks also do some things with Javascripts so that they have user to include it into JSP tags, so that JS is not in <script src...> but <some:jspTag>

I'd like to know if it is possible to setup formatting for it, it works in <script src...> but not in <some:jspTag>.

回答1:

I was trying to figure out the same thing, because Liferay tag does this thing. Unfortunately it is not possible, at least a year ago it wasn't.

eclipse forum