TONYHEAD
V2EX  ›  问与答

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

  •  
  •   TONYHEAD · Aug 20, 2012 · 2748 views
    This topic created in 5016 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
        1
    binux  
       Aug 20, 2012   ❤️ 1
    vim ==
    luin
        2
    luin  
       Aug 20, 2012   ❤️ 1
    可以在google上搜“<语言名> beautifier”,比如“HTML beautifier”, "JavaScript beautifier", "PHP beautifier",都是在线的。
    Vinwan
        3
    Vinwan  
       Aug 20, 2012   ❤️ 1
    Sublime上面,Edit>Line>Reindent
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2631 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 36ms · UTC 15:49 · PVG 23:49 · LAX 08:49 · JFK 11:49
    ♥ Do have faith in what you're doing.