PhpStorm / IntelliJ使阵列分配对齐

时间:2017-08-04 16:23:04

标签: intellij-idea phpstorm

我有这段代码:

$this->viewData = [
    'user' => $this->user,
    'donor' => $this->donor,
    'cause' => null,
    'donation' => null,
    'autologin_url' => $autologin_url,
];

我希望所有=>都对齐。我可以在某处设置吗?

E.g。我希望它看起来像这样

$this->viewData = [
  'user'             => $this->user,
  'donor'            => $this->donor,
  'cause'            => null,
  'donation'         => null,
];

0 个答案:

没有答案