I commited changes in project, then I removed idea and cache folders, after that (or maybe this is not the reason) pycharm doesn’t see files in project: some files marked in yellow and no folders and .py files at all. Also there is no project structure and interpreter in settings
How to fix it? Thanks
Resetting preferences: Close PyCharm then delete the folder .idea/
again, then open PyCharm and re-open the project .
Without resetting preferences:
you can go to Preference -> Project: <ProjectName> -> Project structure
and click + Add Content Root
at the right pane and select my project directory in a file browser