问题:sublime,tab键缩进功能失效解决方法:preferences>package-settings>emmet>Key Bindings-User中插入如下代码:
{ “keys”: [“enter”], “command”: “auto_indent_tag”, “context”:
[
{ “key”: “setting.auto_indent”, “operator”: “equal”, “operand”: true },
{ “key”: “selection_empty”, “operator”: “equal”, “operand”: true, “match_all”: true },
{ “key”: “selector”, “operator”: “equal”, “operand”: “punctuation.definition.tag.begin”, “match_all”: true },
{ “key”: “preceding_text”, “operator”: “regex_contains”, “operand”: “>$”, “match_all”: true },
{ “key”: “following_text”, “operator”: “regex_contains”, “operand”: “^</”, “match_all”: true },
]
}
来源:CSDN
作者:webxiao1
链接:https://blog.csdn.net/webxiao1/article/details/91850592