参考:https://segmentfault.com/a/1190000007690359
http://blog.csdn.net/BlueBlueSkyZ/article/details/54850648
1,Atom 统一代码格式:
安装 editorconfig:自动对不同的项目配置不同的代码风格,保持相同项目相同风格
1)进入网址: https://atom.io/packages/editorconfig
2)下载插件源代码
$ cd ~/.atom/packages $ apm install editorconfig bash: apm: command not found $ git clone https://github.com/sindresorhus/atom-editorconfig
3)进入目录,安装依赖(没用apm)
$ cd atom-editorconfig
$ npm install
4)重新打开 Atom 即可