Sublime Text 3 代码格式化插件推荐 CodeFormatter

CodeFormatter

CodeFormatter has support for the following languages:

* PHP - By PHP_Beautifier
* JavaScript/JSON - By JSBeautifier
* HTML - By JSBeautifier
* CSS - By JSBeautifier
* Python - By PythonTidy (only ST2)

支持,php,js,html,css 

默认快捷键 ctrl+shift+f;确认好别冲突

注意:要选中要格式化的代码,再按快捷键!否则没效果。

原文地址:https://www.cnblogs.com/pthlp/p/5109430.html