sublime中自建的有格式化按钮:

    Edit  ->  Line  ->  Reindent  

加上快捷键: 

    Preference  ->  Key Bindings -user 

打开用户快捷键绑定设置添加(例:ctrl + alt + l ,另外,此处应为小写英文,否则可能会失效)

 { "keys": ["ctrl+alt+l"], "command": "reindent" }, 
02-10 13:13