Eclipse 和 m2eclipse 插件隐藏部分文件夹名称

发布于 2024-10-09 06:54:32 字数 391 浏览 0 评论 0原文

将现有 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

旧话新听 2024-10-16 06:54:32

您很可能已打开Hierarchical 包演示。在您的 Package Explorer 视图中,右上角的下拉菜单切换到 > 包装介绍> Flat 以便查看 com.acme.project1com.acme.project2 在 Package Explorer 中将一个呈现在另一个下方。

Most likely you have Hierarchical package presentation switched on. On your Package Explorer view, on the top right dropdown switch to > Package Presentation > Flat in order to see com.acme.project1 and com.acme.project2 presented the one under the other in the Package Explorer.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文