user3871
user3871

Reputation: 12708

Turn off highlights

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.

Upvotes: 11

Views: 4723

Answers (1)

LazyOne
LazyOne

Reputation: 165088

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

Upvotes: 21

Related Questions