Atom安装代码格式化插件atom-beautify 官网:https://github.com/Glavin001/atom-beautify 效果: 使用: 【cmd】-【shift】-【p】或者【ctrl】-【shift】-【p】