Skip to content

Link with editor feature selects files on top most Maven project, not the most nearest Java project #889

@robmv

Description

@robmv

When building a multi module Maven project with multiple levels like:

.
├── my-project (project)
│   ├── pom.xml
│   ├── module-a  (folder inside a project)
|       └── pom.xml
│   └── module-b (folder inside a project)
|       └── pom.xml
├── module-a  (project)
│   └── pom.xml
├── module-b  (project)
    └── pom.xml

If I open an editor on pom.xml from module-b, the projects tree doesn't link the editor with the last pom.xml inside module-b as a project, it selects pom.xml inside myproject/module-b. It would be really helpful if the project tree selected files inside the most inner java project it find, not the first one occurrence on the entire tree.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions