V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
TONYHEAD
V2EX  ›  问与答

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

  •  
  •   TONYHEAD · Aug 20, 2012 · 2739 views
    This topic created in 5011 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   ·   5254 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 38ms · UTC 05:40 · PVG 13:40 · LAX 22:40 · JFK 01:40
    ♥ Do have faith in what you're doing.