在 PhpStorm 中添加新的颜色和字体规则

Add new rules for color and fonts in PhpStorm

是否可以让 PhpStorm 用不同的颜色高亮一些特定的函数?我希望通过更改字体或背景颜色,使我的所有 var_dumps 和其他一些函数在代码中很容易被发现。

Is it possible to make PhpStorm highlight some particular function with different color?

没有随机文本的自定义颜色或自定义 keywords/entities 可用。

您可以为此观看 IDEABKL-7247 and IDEABKL-5473 票(及相关)。

I would like to have all my var_dumps and some other functions to be easily spotted

您可以安装 "Php Inspection (EA Extended)" 插件 -- 它有一项针对 "forgotten debug statements" 的检查(它们将被标记为错误级别严重性,因此很难错过).此类功能的列表是完全可定制的。

有关更多信息,请参阅