sublime中自建的有格式化按钮:code
Edit -> Line -> Reindent it
加上快捷键: command
Preference -> Key Bindings -user im
打开用户快捷键绑定设置添加(例:ctrl + alt + l ,另外,此处应为小写英文,不然可能会失效)英文
{ "keys": ["ctrl+alt+l"], "command": "reindent" },