开发者

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.

White package icons in my Eclipse's package explorer

My src/ folder is set is includedin开发者_如何学运维 the build path, so I don't get what the problem might be:

White package icons in my Eclipse's package explorer

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.

White package icons in my Eclipse's package explorer

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜