选了许久,选定了phpfmt用来格式化php.因为PhpTidy等都不支持3.而我的sublime是3版本.
- 保证安装了Package Control.打开Package Control Install 键入phpfmt.
- 选择安装
- 配置它让它兼容php5.5
You can check the doc.And it said likes:
1. ctrl+shift+P or cmd+shift+P
2. type in phpfmt: toggle PHP 5.5 compatibility mode
3. click it and then the phpfmt compatible to 5.5
https://github.com/dericofilho/sublime-phpfmt