1.格式化html
preferences->package Control ->输入install package->输入Tag->选中html代码->ctrl+alt+f
preferences->package Control ->输入install package->输入[HTMLPrettify]->->ctrl+alt+f
https://github.com/victorporof/Sublime-HTMLPrettify
Ctrl+Shift+P 输入 htmlprettify,查看快捷键就可以直接使用啦
2.格式化css
preferences->package Control ->输入install package->输入Csscomb
打开 "Tools" 选择 "Run CSScomb".