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?

0
4 comments

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

0
Avatar
Permanently deleted user

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

0

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
Avatar
Permanently deleted user

Andrey, thanks that did it.

0

Please sign in to leave a comment.