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?
最新推荐文章于 2020-04-27 19:31:02 发布