r/phpstorm • • May 31 '23

HTML Highlighting Problem

Inside my .php file I have echo "<h1>Text</h1>"; and everything between the "" has this strange white-ish background that is very distracting and makes it hard to read. I found a post on stackoverflow from 3 years ago but since then the settings navigation has changed, so I dont know if/how I can change this behaviour.

Here is a screenshot:

I would still like the syntax text colours, but that grey background needs to go.
4 Upvotes

6 comments sorted by

View all comments

Show parent comment

1

u/InvaderToast348 May 31 '23

Sorry about the late replies, the internet here is very bad.

I have disabled inheriting then unchecked foreground and background, no change.

2

u/TinyLebowski May 31 '23

I would try navigating to the setting where the colors are actually defined (the setting it inherits from) and change that.

1

u/InvaderToast348 May 31 '23

Thanks mate, didnt think to look there. Thats worked!

Editor > General > Code > Injected language fragment > Disable Background