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?

 

3 comments
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.

0
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?

 

0
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. 

0

Please sign in to leave a comment.