How to refresh code check?


I have installed PyCharm 5.0.5 for Mac, and lately, after some hours working, the syntax checker shows me errors that really don't. For example, declaring a new variable  (var_name = None) or using variables previously defined,...

I need to restart the whole PyCharm application in order to get a free-errors code.

Is there any way to refresh the code check without restarting? or any way to avoid this issue?


Thanks in advance

Comment actions Permalink

Please try File| Invalidate Caches/Restart| Invalidate. Does it help?

Comment actions Permalink

Invalidate Caches only doesn't work. Only works if the restart is included. But restarting the PyCharm is what I tried to avoid.

SOLVED: I've found a solution to re-scan my code and correct all this false errors: Just select all - cut - paste. Ant the code is re-scanned.


Please sign in to leave a comment.