在 PhpStorm 中正确对齐代码

Get proper alignment in the code in PhpStorm

我正在使用 PhpStorm。而且我不喜欢它处理换行符的方式。它只是将代码发送到最左边,但我希望它与标签对齐。

下图显示了 PhpStorm 与 Notepad++ 的对比。我喜欢 Notepad++ 处理代码对齐的方式。我希望 PhpStorm 能够做到这一点。我尝试在 Editor=> code styles 中更改设置,但无法得到我想要的。

  1. Settings/Preferences | Editor | General
  2. Soft Wraps 部分——使用那里的设置——就这么简单。