其实sublime自身就有格式化命令,就不再安装插件了,位置在[Edit]->[Line]->[Reindent]

但这个默认的命令没有快捷键,就重新定义了一下,用习惯了的Netbeans快捷键客串了一下:Alt+Shift+F

[Preferences]->[Key Bindings]->[User]中,添加如下:

 { "keys": ["alt+shift+f"], "command": "reindent" }

相关文章:

  • 2022-01-23
  • 2021-06-08
  • 2022-01-18
  • 2021-06-25
  • 2021-07-31
  • 2021-09-12
  • 2021-09-09
  • 2021-04-01
猜你喜欢
  • 2021-10-09
  • 2022-12-23
  • 2021-10-09
  • 2021-12-29
  • 2022-12-23
  • 2021-11-05
  • 2022-12-23
相关资源
相似解决方案