Sublime - php 代码格式化插件

来源:互联网 发布:sql replace 正则 编辑:程序博客网 时间:2024/05/02 04:35

选了许久,选定了phpfmt用来格式化php.因为PhpTidy等都不支持3.而我的sublime是3版本.

  1. 保证安装了Package Control.打开Package Control Install 键入phpfmt.
  2. 选择安装
  3. 配置它让它兼容php5.5
You can check the doc.And it said likes:1. ctrl+shift+P or cmd+shift+P2. type in phpfmt: toggle PHP 5.5 compatibility mode3. click it and then the phpfmt compatible to 5.5https://github.com/dericofilho/sublime-phpfmt
0 0
原创粉丝点击