Eclipse 和 m2eclipse 插件隐藏部分文件夹名称
将现有 Maven 项目导入工作区时,如何停止 Eclipse (Helios) 和 m2eclipse 插件以隐藏文件夹名称的最后一个点部分?
将现有 Maven 项目导入工作区时,在我选择导入根文件夹的窗口中,这些文件夹名称将被截断。文件夹名称的最后一个点分隔部分将被删除。如果我有很多名为“com.acme.project1”、“com.acme.project2”等的文件夹,那么 Eclipse 仅显示一堆名为“com.acme”的文件夹。如果不打开 Windows 资源管理器并浏览同一位置并检查这些文件夹的真实名称,我无法确定哪一个是正确的。
我不确定这是 m2eclipse 插件的问题还是 Eclipse 的问题。我不记得在以前的 Eclipse 版本中看到过这个问题。
有人可以帮忙吗?这真让我烦恼。
How can I stop Eclipse (Helios) and m2eclipse plug-in to hide last dotted part of folder names when importing existing maven projects into workspace?
While importing existing maven projects into workspace, that window where I select the root folder for the import, those folder names are truncated. The last dot separated part of the folder name is removed. If I have lot of folders named like "com.acme.project1", "com.acme.project2" and so on, then Eclipse shows only bunch of folders having name "com.acme". I cannot figure out which one is the correct one without opening Windows Explorer and browsing the same location and checking out real names of those folders.
I'm not sure if that is problem with m2eclipse plug-in or if it is problem with Eclipse. I don't remember seeing that problem with previous Eclipse versions.
Can anybody help? This is really annoying me.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您很可能已打开
Hierarchical
包演示。在您的Package Explorer
视图中,右上角的下拉菜单切换到 >包装介绍> Flat
以便查看com.acme.project1
和com.acme.project2
在 Package Explorer 中将一个呈现在另一个下方。Most likely you have
Hierarchical
package presentation switched on. On yourPackage Explorer
view, on the top right dropdown switch to >Package Presentation > Flat
in order to seecom.acme.project1
andcom.acme.project2
presented the one under the other in the Package Explorer.