V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
Trim21
V2EX  ›  Visual Studio Code

这是 emmet2.0 的 feature 还是 bug?

  •  
  •   Trim21 ·
    Trim21 · 2017-08-19 17:05:02 +08:00 · 1860 次点击
    这是一个创建于 2440 天前的主题,其中的信息可能已经有所发展或是发生改变。
    前几天刚刚更新了 vscode,看更新说明是启用了 emmet2.0
    原本的 emmet 是可以任意展开的,如果是原来的 emmet,我输入 el-row 直接直接按 tab 应该就可以展开成标签了.
    但是现在需要删掉一个字母,造成我是敲完的假象- -
    这是新 emmet 的 bug 还是 feature?还有办法改回原本的设置吗?

    原本 el-r<tab><tab> 应该就能完成自动补全+展开了

    现在
    2 条回复    2017-08-21 20:17:40 +08:00
    Trim21
        1
    Trim21  
    OP
       2017-08-20 02:44:00 +08:00   ❤️ 1
    折腾了一晚上,看来是个 feature

    改了 keybings.json 设置,为了变回原来的操作习惯
    {
    "key": "tab",
    "command": "editor.emmet.action.expandAbbreviation",
    "when": "editorTextFocus && !suggestWidgetVisible && (editorLangId==html)"
    }
    intellectual
        2
    intellectual  
       2017-08-21 20:17:40 +08:00
    @Trim21 nice😂
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   1092 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 19:07 · PVG 03:07 · LAX 12:07 · JFK 15:07
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.