microsoft / microsoft/vscode-java-dependency
Link with editor feature selects files on top most Maven project, not the most nearest Java project
未关闭
还没有人认领这个 Issue。
- 主要语言
- TypeScript
- 星标
- 199
- 派生
- 105
- 平均合并
- 1 天 22 小时
- 30 天内合并 PR
- 27
描述
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.
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
使用报告中描述的嵌套多模块 Maven 布局重现该问题,并在编辑器中打开 module-b/pom.xml。然后检查 link-with-editor 的行为;当项目树选择最近的内层 Java 项目中的文件,而不是树中第一个匹配的项目时,即表示完成。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- java, typescript, vscode
- 领域
- developer-experience, tooling
- Issue 类型
- 缺陷
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 45/100