How to activate syntax coloring for javascript in JSP editor - Eclipse

牧云@^-^@ 提交于 2019-12-24 02:18:07

问题


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



来源:https://stackoverflow.com/questions/5697958/how-to-activate-syntax-coloring-for-javascript-in-jsp-editor-eclipse

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!