eric6356
V2EX  ›  问与答

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

  •  
  •   eric6356 · Oct 4, 2016 · 2363 views
    This topic created in 3708 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
    lxy
    Oct 4, 2016
    1
    用 emmet 写也差不多吧
    jessynt
    jessynt
    Oct 4, 2016
    2
    emmet

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

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