https://www.zhihu.com/question/19976788

https://www.zybuluo.com/king/note/47271

http://www.daqianduan.com/4820.html

http://dengo.org/archives/970

http://www.cnblogs.com/lanxuezaipiao/p/4151095.html

  1. 代码格式化方法:

    1. 其实sublime自身就有格式化命令,就不再安装插件,位置在[Edit]->[Line]->[Reindent],但这个默认的命令没有快捷键,就重新定义了一下,想用习惯了的eclipse快捷键:Ctrl+Shift+F但是和“在文件中查找”冲突了。改用Ctrl+Alt+F吧,或者和netbeans(Shift+Alt+F)保持一致。

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

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