Disable SQL detection in JetBrains PyCharm
19:10 31 Aug 2014

I was trying to type the following line:

self._label = QtGui.QLabel("Select parameter from selected category")

And PyCharm decided I was doing an SQL Query or something and gave errors about having no data connections configured. The Syntax Highlighting within the string changed and Select and from became highlighted like keywords. Since I don't use SQL or any database whatnot at all (I'm an engineer who programs - I don't use databases, sorry) ... I simply disabled the SQL Plugin in the PyCharm plugin settings.

Is there a less drastic way to disable this auto-inspection behavior in case I ever wanted that plugin turned on? It seems drastic that any time it sees Select x from y in a string it thinks it's an SQL query. I tried disabling all the SQL inspections under the Inspections settings.

Thanks for any help.

python sql pycharm