![](https://box.kancloud.cn/7419aa8f221797c75891b6bc89013491_745x368.png)
~~~
{
"format_on_save": true,
"php_bin": "D:/phpStudy/php/php-7.0.12-nts/php.exe",
"psr1": true,
"psr1_naming": true,
"psr2": true,
"version": 1
}
~~~
设置选项:自动对齐
~~~
{
"format_on_save": false,
"enable_auto_align": true,
"php_bin": "D:/phpStudy/php/php-7.0.12-nts/php.exe",
"psr1": true,
"psr1_naming": true,
"psr2": true,
"version": 1
}
~~~
This can be enabled with the option “enable_auto_align”
* * * * *
https://packagecontrol.io/packages/phpfmt
- 目录
- 教程
- 问答
- 设置
- 快捷键
- 插件管理
- 安装包( PackageControl )
- 插件
- 语法
- SublimeLinter
- SublimeLinter-jshint
- SublimeLinter-php
- SublimeLinter-phplint
- SublimeLinter-phpmd
- SublimeLinter-phpcs
- 注释
- DocBlockr
- 排版
- HTML-CSS-JS Prettify
- phpfmt
- 模版
- SublimeTmpl
- ExtJS
- 安装
- 翻译
- ChineseLocalizations
- 辅助
- SideBarEnhancements
- Bracket Highlighter
- auto-save
- Color Highlighter
- ColorPicker
- 上传
- sftp
- 提示
- PhpNinJaManual
- 版本
- Git
- TortoiseSVN
- 框架插件
- PHP开发
- 编译系统
- 注释插件
- 代码片段
- Pretty Json
- 系统菜单
- 分屏
- 空格缩进
- 中文版
- brew