Renamed Pycharm project, now Pycharm doesn't recognize it
Hi,
I'm new to Python. I had a project folder named "Hello World", which is what I used to get started and learn. I just renamed the folder to something else, however Pycharm doesn't recognize it anymore, even though I renamed it back to its original name. Even if I try to open the project from Pycharm, when I navigate to it, it doesn't show up at all.
I have some code in that folder that I don't want to lose. Could someone explain how I can open it again on Pycharm please? Or at least, how I can retrieve my code?
Many thanks for your help.
Please sign in to leave a comment.
Hello, Neilsolaris!
I guess you see something like this:
I tried to reproduce your problem, renamed the dir with project, so project in PyCharm became grayish. But then I renamed the dir back - it immediately showed up again. Anyway, it's very easy to open your project after renaming and/or moving dir with button "Open", you just need to specify the right path to the directory with your project.
If you still have troubles - please, specify more information on what exactly you did to your project and what full paths to it's directory.
Many thanks for your help. For about an hour, I tried to open it in the directory it was stored, but it wasn't appearing in Pycharm at all. Then eventually it did, but it wouldn't run (Python was claiming it didn't exist). So I just copied the code, started a new project with the name I was trying to rename it before, and now all is working fine! I'll come back to this later to see if I can work out what the problem was.
Thanks, again.