White package icons in my Eclipse's package explorer
I am getting these strange white package icons in my testing project. From what I've seen @ http://jamie.ideasasylum.com/images/icons.pdf, they signal "empty packages", but I don't know why.
My src/
folder is set is includedin开发者_如何学运维 the build path, so I don't get what the problem might be:
Thanks
This is most likely because you have chosen hierarchical package views. The hierarchical package view will show empty package icons for packages without any classes.
Switching to flat package views will allow Eclipse to display only packages that have classes in them.
Create at least one class in the 'empty' package 'white package' and refresh the project, the color should change to Golden.
When Package does not contain any class, then the color is white.
精彩评论