When I edit a file in my project, the red squiggly lines no longer appear if I have a name which lacks an import or is incorrectly spelled in the first place. Left-clicking+CTRL shows "Cannot find declaration to go to", so PyCharm should know that there is an issue. Invalidating the caches didn't work, as well a complete uninstall+reinstall. Deleting the .idea folder failed to help as well. I'm at a loss what I can do to fix that problem.