0

In a multi-module maven project, Mylyn adds newly opened files to the context multiple times: once for the project where the file really lives, and then once again for each parent project in the hierarchy. It is possible to remove the parent references but they reappear.

What makes things worse is that Mylyn shows fully opened path branches for each folder in the parent project that contains files. That clutters the Package explorer a lot.

Is it possible to tell Mylyn to disregard maven parent projects in the workspace?

4

1 回答 1

2

可以使用工作集。
http://wiki.eclipse.org/Mylyn/User_Guide#Working_Set_Integration

  • 创建一个仅包含非父项目的工作集,然后转到包资源管理器并使用包资源管理器工具栏中的小三角形打开工作集菜单。

  • 选择“顶级元素-工作集”。这为您提供了一个包含两个文件夹的包资源管理器:“其他项目”和包含非父项目的项目的工作集。

  • 从工作集的上下文菜单中,选择“进入”

于 2013-07-12T08:57:54.377 回答