Turn off highlights

4.5k views Asked by At

I want to turn off PHPStorm's annoying highlighting for non-error related things.

enter image description here

I read their docs, which said to go to preferences->editor->inspections. I deselected all for SQL, yet I still get this green highlighting for no reason:

enter image description here

How do I disable this? It's quite distracting.

1

There are 1 answers

3
LazyOne On BEST ANSWER

That's Language Injection in action.

You can:

  • Remove/change background color at Settings (Preferences on Mac) | Editor | Colors & Fonts | General --> Code | Injected language fragment
  • Disable that particular injection rule altogether at Settings (Preferences on Mac) | Editor | Language Injections