eric6356
V2EX  ›  问与答

请教 Atom 有没有实现这种 html 补全的插件

  •  
  •   eric6356 · Oct 4, 2016 · 2049 views
    This topic created in 3517 days ago, the information mentioned may be changed or developed.

    在使用 VS Code 或一众 IntelliJ IDE 写 html 的时候,可以输入 jade 的语法,然后按 tab 补全完整的标签。
    比如输入:

    i.icon#id_icon
    

    可以补全成:

    <i class="icon" id="id_icon"></i>
    

    想请问这种功能叫什么名字,以及 Atom 有没有相应的插件呢?

    6 replies    2016-10-04 14:29:25 +08:00
    lxy
        1
    lxy  
       Oct 4, 2016
    用 emmet 写也差不多吧
    jessynt
        2
    jessynt  
       Oct 4, 2016
    emmet

    https://github.com/emmetio/emmet-atom

    Github 好像宕机了
    eric6356
        3
    eric6356  
    OP
       Oct 4, 2016
    @jessynt
    @lxy
    多谢两位
    eric6356
        4
    eric6356  
    OP
       Oct 4, 2016
    github 503 了暂时没法安装这个 package
    learnshare
        5
    learnshare  
       Oct 4, 2016
    那不是 Jade (已经改名叫 Pug )语法,就是 Emmet 语法
    eric6356
        6
    eric6356  
    OP
       Oct 4, 2016
    @learnshare
    难怪我 google 了老半天 Jade 什么都搜不到
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2789 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 35ms · UTC 11:51 · PVG 19:51 · LAX 04:51 · JFK 07:51
    ♥ Do have faith in what you're doing.