PhpStorm 将标志粘合在一起

PhpStorm glue together signs

我找不到制作方法

=> == === != !== ect.

看起来像一个登录 phpstorm

谁能帮我找到这个设置?

它叫做 "ligatures",可以在以下时间启用:

  1. Settings/Preferences
  2. Editor | Color Schema | Color Schema Font(或者可能只是 Editor | Font——我不是 100% 确定这个新设置页面到底做了什么)
  3. Enable font ligatures 选项。

显然,您需要在 computer/OS 上安装支持此类符号的字体。

看起来 只有 Fira Code 与 IDE 和您可能需要手动安装的其他支持的字体捆绑 -- 见下文。


来自https://blog.jetbrains.com/phpstorm/2016/06/phpstorm-2016-2-eap-162-646/

Support for ligatures in editor

PhpStorm now supports fonts with programming ligatures, like Fira Code, Monoid or Hasklig.