How to indent jsp pages in eclipse

喜欢而已 提交于 2019-12-10 19:36:12

问题


just started working with jsps and my pages look awful. Please suggest a way to have them indented.

thanks


回答1:


First make sure you have Web Tools installed, if not check this link: http://download.eclipse.org/webtools/updates/

Then right click in your code of your jsp page and click source then click format or press SHIFT+CTRL+F




回答2:


Take a look at the webtools plugin.




回答3:


Ctrl+I to indent the selected part (or all) of you code



来源:https://stackoverflow.com/questions/1231149/how-to-indent-jsp-pages-in-eclipse

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