I like for my PhpStorm (version 8.0.3) to show potential errors and bugs in glaring colors in order to prevent time from being wasted.
Recently, I often discover myself doing this kind of typo:
$this->$someExistingProperty = 'fnord';
This obviously means something entirely different than:
$this->someExistingProperty = 'fnord';
Is it possible to configure PhpStorm that it shows dynamically invoked properties and methods in a different color, e.g. pink?
It also would help if only the $
would appear in a different color, just like the semicolon.
Right now, I see it this way:
Can I configure it and if so, where? I have searched through the Colors & Fonts tab for PHP but so far, without luck.
I didn't found any options to highlight the line you want, but you can highlight the other identifier (in bold by example) in the Language Defaults or PHP menu:
The result: