如何使Eclipse格式化JSP代码? [英] How to make Eclipse to format JSP code properly?
本文介绍了如何使Eclipse格式化JSP代码?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我在Eclipse IDE中使用了很多代码格式化命令( Ctrl + Shift + F )。虽然这对Java / CSS源代码来说非常有用,但JSP格式化只是 。
I use code formatting command (Ctrl + Shift + F) a lot in Eclipse IDE. While this works pretty well for Java / CSS source codes, the JSP formatting is just sucks.
是否有可用的插件Eclipse IDE中的JSP格式更好?通过格式化我的意思是JSP / HTML标签的正确缩进。
Is there any plug-in available to make the JSP formatting better in Eclipse IDE? By formatting I mean proper indenting of JSP/HTML tags.
推荐答案
使用Google快速搜索这是MyEclipse Enterprise Workbench的一部分。
A quick search with Google turns up this part of MyEclipse Enterprise Workbench.
但是一个快速的,如果显而易见的问题:您是否安装了J2EE工具?
But a quick, if obvious, question: do you have the J2EE tools installed?
这篇关于如何使Eclipse格式化JSP代码?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文