How to format html files in Eclipse?

后端 未结 5 1403
终归单人心
终归单人心 2021-01-31 02:01

The XML formatting works perfect but not the html formatting. In fact if I use \"cmd-shift-F\" for a html file, it just left aligns almost everything. I\'ve attached the before

5条回答
  •  花落未央
    2021-01-31 02:32

    Eclipse Juno release seems to do a good job. It doesn't handle tags (that is the div tag that closes itself). Not sure why anyone would use it but we have a project that has them sprinkled about, probably from some WYSISYG editor someone was using.

提交回复
热议问题