How to have same syntax color for class definitions and class usages?
When defining a class like this, the class name is colored in the syntax color I configured for classes:

When then creating an instance of the class, the syntax color for classes is not used, but instead the syntax color for identifiers:

This is a weird behavior I never saw in any IDE before. It looks more like a bug to me.
My question
How to tell PhpStorm to always keep the color for classes even when instantiating them?
请先登录再写评论。
At the moment, there's no way to mark usages with the same property. I agree that this is a bug and has to be fixed:
https://youtrack.jetbrains.com/issue/WI-68702/Color-Scheme-PHP-Classes-and-Properties-Class-doesnt-get-applied-to-class-usages
Thank you very much for you answer and for creating the issue in YouTrack, Eugene 🙂