For HTML, JSP or other similar web pages, the Eclipse default format policy may not satisfy you. For me, I'd like one tag one line. To change the default policy, you should open the preference window from menu 'Window': window-->preference-->Web-->HTML files-->Editor, then find the 'Inline Elements' in the right list, and remove all of them. Apply your change, then return back to your opened web page editor, CTRL+F...
How to change Eclipse default format policy?
最新推荐文章于 2024-08-09 07:52:29 发布
本文介绍如何在 Eclipse 中自定义 HTML、JSP 和类似网页的默认格式政策,通过调整偏好设置,移除所有内联元素,使编辑体验更符合个人需求。
1694

被折叠的 条评论
为什么被折叠?



