How to format html files in Eclipse?

后端 未结 5 1391
终归单人心
终归单人心 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:15

    CTRL+SHIFT+F works fine.

    Just click on the source codes you want to format and then press CTRL+SHIFT+F.

提交回复
热议问题