PhpStorm 如何在完成 PHP

问题描述

点击这里后

enter image description here

PHPStorm 将插入 self::

enter image description here

但我总是需要插入 static:: 而不是 self::

如何在 PHPStorm 中更改此完成?

解决方法

您可以为此创建自定义实时模板并使用它。检查我在下面的屏幕截图中填写的值。

enter image description here