I think it might have something to do with asynchronous tasks but I don't know for sure. Could someone please clarify this for me?
Also what do the yellow frames mean when you are debugging?
This also happened to me and the cause was that the project folder was removed from the 'project structure'. You can re-add it in Settings -> Project <...> -> Project Structure . I had this issue in PyCharm and this solution worked for me.
Hover the mouse over the widget in top-right corner of the editor and select another level from the Highlight list: None: turn highlighting off.
Orange is the color for excluded folders. IntelliJ excludes indirect dependencies automatically as you shouldn't be importing those. Also, having the indirect dependencies excluded also speeds up the search.
It means that the files exist locally, but are not in the repository, and are not scheduled for addition. With other words, the files are not under version control. There is not really a problem since the files can just be added to the VCS if desired.
If this suddenly happens to your project:
Consider closing pycharm and deleting the .idea/
folder of that project.
After reopening the project the project, pycharm will detect all files as normal. But you'll need to set up the project again. -> Set source-folder, add run configuration etc.
For me that was the faster solution than figuring out how to fix it.
One more mention: It happened after a merge which caused some version conflicts and required to "roll back" a file.
This also happened to me and the cause was that the project folder was removed from the 'project structure'. You can re-add it in Settings
-> Project <...>
-> Project Structure
.
See also the documentation: https://www.jetbrains.com/help/pycharm/configuring-project-structure.html
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With