开发者

White package icons in my Eclipse's package explorer

开发者 https://www.devze.com 2023-03-25 17:41 出处:网络
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 Idon\'t know why.

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

精彩评论

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