如何激活JavaScript在JSP编辑器中的语法着色 - Eclipse [英] How to activate syntax coloring for javascript in JSP editor - Eclipse

查看:156
本文介绍了如何激活JavaScript在JSP编辑器中的语法着色 - Eclipse的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



有些框架也可以使用Javascript做一些事情以便用户将其包含在JSP标签中,以便JS不在< script src ...> 中,但< some :jspTag>



我想知道是否可以设置格式,它可以在 < script src ...> ,但不在< some:jspTag>

解决方案

我试图找出同样的事情,因为Liferay标签做这个事情。不幸的是,至少在一年以前是不可能的。



eclipse论坛


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.

eclipse forum

这篇关于如何激活JavaScript在JSP编辑器中的语法着色 - Eclipse的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆