简体   繁体   中英

PyCharm doesn’t see files in project

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

Close PyCharm then delete the folder .idea/ again,then open PyCharm and re-open the project.

To not lose 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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM