Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What does the yellow background on filename mean in Intellij?

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?

enter image description here

like image 933
Ashwin Praveen Avatar asked Oct 17 '18 18:10

Ashwin Praveen


People also ask

Why is my IntelliJ files yellow?

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.

How do I remove yellow highlights in IntelliJ?

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.

What does orange folder mean in IntelliJ?

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.

Why is my filename red in IntelliJ?

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.


2 Answers

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.

like image 77
chris Avatar answered Oct 14 '22 16:10

chris


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.

Settings-> Project <...> -> Project Structure.

See also the documentation: https://www.jetbrains.com/help/pycharm/configuring-project-structure.html

like image 33
Framester Avatar answered Oct 14 '22 17:10

Framester