Eclipse没有显示已经存在的包 [英] Eclipse not showing package which is already there

查看:148
本文介绍了Eclipse没有显示已经存在的包的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我遇到麻烦,我正在使我的应用程序中的一些包,所有罚款,我想要一个文件夹内的源是好的,但当我复制一些图像在该文件夹我的一个包没有显示在日食。
和我的工作流程就像这样

  src / package1 
src / package2
src / package3
src / package4
src / folder / someimages there

现在eclipse包资源管理器,如果我想给同一个包名,它显示包已经存在 但我无法看到包中的eclipse .... 为什么它的发生
我该怎么办...任何帮助将不胜感激



更新
这是一个错误,我的包裹结构是这样的...

  src / package1 
src / package1 / package2
src / package1 / package3
src / package1 / package4

解决方案

您不能看到 src / package1 的原因可能包装演示设置设置为平坦。它只会显示包含文件的包。



要更改演示文稿,请单击项目浏览器上的箭头图标,将包演示文稿更改为分层


I got in the trouble i am making some packages in my application all fine now i want to make a folder inside the source is good but when i copy some images in that folder one of my package is not showing in the eclipse. and my work flow is like this

src/package1
src/package2
src/package3 
src/package4
src/folder/someimages there

Now in eclipse package explorer, If i want to give the same package name it is showing Package Already exist But i am not able to see the package in eclipse .... why its happening What should i do ... any help will be appreciated

UPDATE It was a mistake my package structure is like this...

src/package1 
src/package1/package2
src/package1/package3
src/package1/package4

....

解决方案

The reason you can't see src/package1 is probably package presentation setting is set to flat. It will only display the packages that with files.

To change presentation, left click the arrow icon on your project explorer, change Package Presentation into Hierarchical.

这篇关于Eclipse没有显示已经存在的包的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆