redhat-developer / redhat-developer/vscode-java
Invisible / "no build tools" projects in workspace not recognized
@testforstephen 已经在做这个了。
开始于 2020年12月18日。
- 主要语言
- TypeScript
- 星标
- 2.3k
- 派生
- 546
- 平均合并
- 20 小时 1 分钟
- 30 天内合并 PR
- 11
描述
Additionally to #1672 I found the following problem:
Let's assume my students add new Java project with the Java Projects + wizard in an existing workspace.
If you're in a workspace with the following structure:
workspace_root
workspace_root/project1 --> Maven project
As soon as you add a second "No build tools" Java project like this:
workspace_root/project2 --> "No build tools" Java project
it will not be recognized.
If your structure is like this:
workspace_root
workspace_root/project1 --> "No build tools" Java project
workspace_root/project2 --> "No build tools" Java project
The extension seems like it wants to merge both classpaths and shows errors due to both projects having an App.java
This can easily reproduced by just adding two projects.
I don't know if this problem is related to the nature of invisible projects.
Everything works fine for those no build tools if you open each project in a separate window in VSCode. It's only a problem if you're using workspaces.
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
评估
这个 Issue 还没有评估数据。