sublime—emmet的tab配置

好久不见. 提交于 2019-12-01 22:05:30

sublime的install package之后,正确安装了emmet,却出现tab和ctrl+e都可以自动不全,但是tab本身的退4空格的功能却失灵,最终配置成功。

总结如下

用户配置代码如下:


{ "keys": ["tab"], "command": "reindent", "context":

        [

            { "key": "setting.auto_indent", "operator": "equal", "operand": true },

            { "key": "selection_empty", "operator": "equal", "operand": true, "match_all": true },

            { "key": "preceding_text", "operator": "regex_match", "operand": "^$", "match_all": true },

            { "key": "following_text", "operator": "regex_match", "operand": "^$", "match_all": true }

        ]

    }



9045053-31a620610cf3a2ed.png

最后使用user default。

sublime注册码连接:

https://blog.csdn.net/qq_29819449/article/details/80130327

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!