Sublime 格式化代码 快捷键以及插件使用

其实在sublime中已经自建了格式化按钮:

Edit  ->  Line  ->  Reindent  

只是sublime并没有给他赋予快捷键,所以只需加上快捷键即

Preference  ->  Key Bindings -user 

中 括号内添加(比如添加:ctrl + alt + f)

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

posted @ 2014-04-05 21:17  zhangyongjian  阅读(514)  评论(0编辑  收藏  举报