Coloring built in and user space functions differently?

Answered

Differentiating between built-in and userspace functionality would be superb. Is there a way...?

4 comments
Comment actions Permalink

Hi there,

  1. Like what? Please provide some simple code and screenshot of what you see there on your computer.
  2. What's your IDE version?

Some stuff gets colored just fine (e.g. var_dump)

0
Comment actions Permalink

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"

0
Comment actions Permalink

Oh thanks, my theme didn't separate it and I haven't found that one. Thanks!

0

Please sign in to leave a comment.