phpstormphpstorm-2018.1

PhpStorm what is this background color?


I really don't know how I did this, but now my code is highlighted with this ugly olive color and I get a warning: "No data sources are configured to run this SQL" but my files are all PHP without any SQL command.

Here is a screenshot below.

Please can anybody tell me how can I remove the ugly olive green/ light brown background color in the code highlighting.

enter image description here

enter image description here enter image description here


Solution

    1. Settings/Preferences
    2. Editor | Language Injections
    3. Delete 3rd rule from the bottom where it has IDE in the Scope column.

    You have accidentally injected SQL language into <div> tag content... so everything inside such tag is treated as SQL.