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试试。

相关文章:

  • 2022-12-23
  • 2021-06-30
  • 2022-12-23
  • 2021-07-17
  • 2021-05-15
  • 2022-01-01
  • 2021-10-22
  • 2022-12-23
猜你喜欢
  • 2021-09-27
  • 2021-05-11
  • 2022-12-23
  • 2021-06-15
  • 2021-04-02
  • 2021-10-11
相关资源
相似解决方案