I'm using PhpStorm with the Monokai scheme. When I write an SQL statement in PHP they get underlined. Where can I disable/change this? See images below. I've looked in Color & Fonts but can't seem to find the place to change it. I'm used to the Monokai scheme so I would like to keep using it.
In Monokai scheme:
In Dracula scheme:
Thanks!
What you see there is a
warning
from one of the SQL Inspections.Your options:
Fix the actual issue that Inspection is warning you about
Disable that inspection (those inspections, if there are more than one warning) at
Settings (Preferences on Mac) | Editor | Inspections | SQL
Change SQL dialect from specific (e.g.
MySQL
) toGeneric
where you will have only generic syntax highlighting and no SQL code validation will be performed (no code helpers will be available)Change style for actual "Warning":
Settings (Preferences on Mac) | Editor | Colors & Fonts | General --> Warning
(NOTE: If Monokai is bundled theme (not installed by you) then you will have to create your own copy before making changes as bundled schemes cannot be modified)