什么是Eclipse最好的免费插件,允许格式/缩进/清理JSP代码? [英] What is the best free plugin for Eclipse that allows for formatting/indenting/cleanup of JSP code?

查看:150
本文介绍了什么是Eclipse最好的免费插件,允许格式/缩进/清理JSP代码?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我知道IntelliJ有一个选项来选择JSP文件中的所有代码,右键单击并选择格式。这很好地格式化了JSP文件中的所有HTML,CSS,scriptlet和JSTL标签。



Eclipse可以做到吗?



如果没有,什么是最好的免费Eclipse插件,这样做是一样的?

解决方案

使用Web Tool Plateform Plateform(在eclipse.org网站上),这很简单:在JSP编辑器选项卡中,右键单击> source->格式(或Shift + Ctrl + F)


I know that IntelliJ has an option to select all the code in a JSP file, right click, and select "format". This nicely formats all HTML, CSS, scriptlets and JSTL tags in a JSP file.

Can Eclipse do this?

If not, what is the best free Eclipse plugin that does the same?

解决方案

With the Web Tool Plateform plateform (on eclipse.org website), this is very simple : in the JSP editor tab, right click->source->format (or Shift+Ctrl+F)

这篇关于什么是Eclipse最好的免费插件,允许格式/缩进/清理JSP代码?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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