rherrmann / eclipse-extras

Small extensions for the Eclipse IDE
https://rherrmann.github.io/eclipse-extras/
Eclipse Public License 1.0
43 stars 5 forks source link

Provide resource filter that matches nested projects #55

Open rherrmann opened 7 years ago

rherrmann commented 7 years ago

Nested projects filters are intended to assist with multi-module maven projects or similar project structures as described here: http://jmini.github.io/blog/2017/2017-01-27_ressource-filter.html

In this context, it would help to have a filter that matches nested projects already known to the workspace so that the parent projects shows only root files and folders with projects that are not yet known to the workspace.

rherrmann commented 7 years ago

Commit 510727a98bf85ade93ec0caddcde7dffd1795512 adds an experimental resource filter that matches nested projects. To use the filter, open the properties dialog of the parent project, go to the Resource > Resource Filters page and add a filter with these properties:

image

Known limitations:

If this change proves useful, 'unit' tests for NestedProjectFilter need be added to back the current end-to-end tests in NestedProjectFilterIntegrationPDETest.