rbs
rbs

Reputation: 189

How to remove red underline from PyCharm project window files?

My PyCharm 2016.3 is underlining some files like it's spellchecking them. I suspect this can be controlled from the Settings/Editor/Inspections menu, but I can't find it. How can this be removed?

screenshot

Upvotes: 4

Views: 9583

Answers (3)

mehdi morena
mehdi morena

Reputation: 1

red line under text code in django . This warning is because the curnet interpreter is not selected correctly. Go to pycharm settings -> python interpreter -> select your project python version.

Upvotes: -1

Yandapalli Vivek
Yandapalli Vivek

Reputation: 1

Go to file->settings->editor and click on Inspections then you can see Spelling, uncheck the checkbox corresponding to that and click apply and OK. Hope this is useful.

Upvotes: -2

zerohedge
zerohedge

Reputation: 3725

There's an error in urls.py that's triggering the error highlight for both of its parent folders (see "Error Indication"). Spellchecking warnings are usually displayed in green, and don't apply to filenames.

In any case, you can change the syntax highlighting and error indications in Editor→Colors and Fonts→General. Or, you can use "Hector The Code Inspector" (the little icon resembling a guy with a hat) to change the highlighting policy per-file.

Upvotes: 4

Related Questions