sublime text3安装了emmet插件后tab键不能缩进,只能代码补全
缩进的快捷键变成了ctrl+]
但是这样很不习惯解决方法(亲测有效):
在设置菜单栏里找到如下路径,路径如下:Preferences>PackageSettings>Emmet>KeyBindings-User:
在出现的界面中粘贴如下配置信息,保存。
[
{
"keys": [
"tab"
],
"args": {
"action": "expand_abbreviation"
},
"command": "run_emmet_action",
"context": [
{
"key": "emmet_action_enabled.expand_abbreviation"
}
]
}
]
检查快捷键Tab是不是可以使用了,如果不可以重启一下sublime试试。{
"keys": [
"tab"
],
"args": {
"action": "expand_abbreviation"
},
"command": "run_emmet_action",
"context": [
{
"key": "emmet_action_enabled.expand_abbreviation"
}
]
}
]