Semantic Highlighting of Class fields

Hi All!

I'm wondering about why the Semantic Highlighting feature - which I find very useful - is not applied to the class fields?

Different basic variables have random colors assigned to, however the same is not done to class fields.
Inside class methods $this->field1 and $this->field2 have the same colour as $this, while they behave like individual variables and (at least the part after -> ) should be coloured according to the Semantic Highlighting feature.
Similarly, outside the class $myInstance->field1 and $myInstance->field2 are not working as expected. $myInstance is colored according to Semantic Highlighting, however, the parts after -> have the same colour all. By the same logic, the parts after -> should have their colours selected from the semantic palette as well.

What do you think?

Please sign in to leave a comment.