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 }

        ]

    }



sublime—emmet的tab配置

最后使用user default。

sublime***连接:

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

相关文章: