TONYHEAD
V2EX  ›  问与答

有什么工具可以自动把代码弄得“漂亮”一点的?

  •  
  •   TONYHEAD · Aug 20, 2012 · 3286 views
    This topic created in 5213 days ago, the information mentioned may be changed or developed.
    例如一个HTML的文件,可以自动对齐各级的<div><ul><li></li></ul></div>标签的?

    谢谢。
    3 replies  •  1970-01-01 08:00:00 +08:00
    binux
    binux
    Aug 20, 2012❤️1
    1
    vim ==
    luin
    luin
    Aug 20, 2012❤️1
    2
    可以在google上搜“<语言名> beautifier”,比如“HTML beautifier”, "JavaScript beautifier", "PHP beautifier",都是在线的。
    Vinwan
    Vinwan
    Aug 20, 2012❤️1
    3
    Sublime上面,Edit>Line>Reindent
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   1021 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 37ms · UTC 18:48 · PVG 02:48 · LAX 10:48 · JFK 13:48
    ♥ Do have faith in what you're doing.