Pycharm stills shows the old name after renaming a .py file. How to fix this?

Viewed 1800

I am using PyCharm Community Edition 2017.1.2. I find that after renaming a file, if I run the current file. Pycharm still shows the original name.

See picture here

The original file name is temp.py, and later I change its name to read_class_scores.py. When I want to run it by right click of the mouse, pycharm still shows the name temp, not the new name.

I tried to delete the .idea folder under my project and restart Pycharm. But that has no effect. Do you know how to fix this?

3 Answers
Related