vscode-java-dependency icon indicating copy to clipboard operation
vscode-java-dependency copied to clipboard

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

Open robmv opened this issue 4 months ago • 0 comments

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.

robmv avatar Aug 08 '25 14:08 robmv