Currently, PHP Tools for Visual Studio colors PHP tags (and also TODO comments) in a yellow background with black foreground text:
This is problematic to me, at least in a dark mode environment like the one I'm using.
Reason is that the caret (i.e. the text cursor) is white and it is nearly invisible when trying to edit inside those tags (because white caret on yellow background has an awful contrast).
Visual Studio did the same for Razor views until recently, when they changed it:
Now they are using the same background color as the other tags and only use a different foreground color (purple in the above screenshot, those @
, {
and }
symbols are the equivalent of the PHP tags).
In addition the TODO comments are colored with the same background color as the other document elements but with a certain foreground color only. Also, the whole line of the TODO is colored, not only the "TODO" itself.
Suggestion
My suggestion is to also get rid of the background coloring of PHP tags (and TODO comments).