File icons - red circle with diagonal line
Ive just created a new project with build 2026.
I checked out the source from our CVS repo, and all source files are shown in the Project/Package view with a red circle/red diagonal line thru their icons. This is not applicable to all new projects in 2026 - just this one. I have no idea why though.
This leads me to:
1.) Question : Why would my source files be marked with this red circle?
2.) Suggestion: Add an explanation as to why IDEA has marked these files as being uneditable / uncompilable / whatever-it-means.
Either in the status bar, or as a simple right click option on the file/class name. This would be helpful in resolving the problem.
Nick
Please sign in to leave a comment.
Ok, Ive noticed why
Although IDEA detected the project ./src folder as the source folder, when I look at the project settings, although there is an entry under the Paths tab for source folders, it is empty.
If I delete that blank entry, and re-add the project ./src, everything works.
My comment about the reason/explanation still stands though. If a tooltip/status bar/dialog explained why the files were flagged with the red circle, it would be a simple, yet helpful addition.
Now that Ive dug around more, the problem is common to all new projects made with builds 2018 or 2026.
Nick
On 24-05-2004 17:02, Nick Pratt wrote:
Are the folders containing the source marked as being "sources" in
"project settings > paths"?
Bas