pyCharm remove sql dialect background

Hi all, I have some variables with SQL queries and pyCharm is adding a yellow background to all of them. How can I change that?

4 comments
Comment actions Permalink

You can go to **File | Settings | Editor | Language Injections** and disable language injections for SQL

0
Comment actions Permalink

Thanks, Andrey. Is there any other way that is not complete disabling it? I just don't like the background color 

0
Comment actions Permalink

Oh, sorry for not mentioning that earlier, but you can go to inspection settings (File | Settings | Editor | Inspections), and disable the highlighting for specific inspection types in SQL branch.

Hover your mouse over the inspection to find out which one is it, and disable the highlighting. Or, you can disable the whole inspection.

 

1
Comment actions Permalink

Andrey, thanks that did it.

0

Please sign in to leave a comment.