Red Lines under all functions

For some reason, PyCharm just started red underlining any function I write, even in a fresh project.  The file still runs despite the lines.  It was not doing this this morning so I must have accidentally changed some setting but I have no idea what that could be. Has anyone ever seen this before?


Comment actions Permalink

For future reference for some poor soul in the future with the same problem, the answer is:

File | Manage IDE Settings | Restore Default Settings


That did it. 

Comment actions Permalink

There could be too many reasons to start shooting randomly.

Let's start with **File | Invalidate Caches / Restart... | Invalidate and Restart**, if it's not helping, please show some screenshots of the issue and your project structure.

Comment actions Permalink

A word of caution to future poor souls from the poor soul that had this issue and resolved it with Restore Default Settings

I should have expected it, but every config change I've ever made to my IJ environment is gone. It's got that new out-of-box smell...

This seems to be a safer first try:,241,-IntelliJ%20sometimes%20gets

Comment actions Permalink

   OK, here is a screen shot.  Invalidating the cache did not work.  This is a test project that I created just to see if I would get the red lines.  There is only one file that has one function.  Is there any possibility that a recent update to PyCharm has caused this?



Please sign in to leave a comment.