phpstorm 自动格式化代码 按等号 按键值对 自动对齐

格式化快捷键:
CTRL + ALT + L

配置等号对齐:
1. Setting
2. Editor
3. Code Style
4. PHP
5. Wrapping and Braces
6. 勾选Align consecutive assignments

配置key-value对齐:
1. Setting
2. Editor
3. Code Style
4. PHP
5. Other
6. 勾选Align key-value pairs
---------------------

原文地址:https://www.cnblogs.com/shaoing/p/11243358.html