如何激活JavaScript在JSP编辑器中的语法着色 - Eclipse [英] How to activate syntax coloring for javascript in JSP editor - Eclipse
问题描述
有些框架也可以使用Javascript做一些事情以便用户将其包含在JSP标签中,以便JS不在< script src ...>
中,但< some :jspTag>
我想知道是否可以设置格式,它可以在 < script src ...>
,但不在< some:jspTag>
。
我试图找出同样的事情,因为Liferay标签做这个事情。不幸的是,至少在一年以前是不可能的。
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>
.
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.
这篇关于如何激活JavaScript在JSP编辑器中的语法着色 - Eclipse的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!