Coloring built in and user space functions differently?
已回答
Differentiating between built-in and userspace functionality would be superb. Is there a way...?
请先登录再写评论。
Hi there,
Some stuff gets colored just fine (e.g. var_dump)
So, for example set a different color for http://php.net/manual/en/function.array-map.php and https://api.drupal.org/api/drupal/core%21modules%21action%21action.module/function/action_help/8.2.x in the Editor > Colors & Fonts > PHP settings.
As you can see array_map() call has different color to (user defined) cube() call.
PhpStorm 2016.3
This works for certain (hard coded) list of standard functions -- you cannot add your own functions there.
That color can be changed at "Settings/Preferences | Editor | Colors & Fonts | PHP | Identifiers | Predefined symbols"
Oh thanks, my theme didn't separate it and I haven't found that one. Thanks!