redhat-developer / redhat-developer/vscode-java
Corrupted workspace in Maven Multi-Module Project
还没有人认领这个 Issue。
- 主要语言
- TypeScript
- 星标
- 2.3k
- 派生
- 546
- 平均合并
- 20 小时 1 分钟
- 30 天内合并 PR
- 11
描述
[provide a description of the issue]
Environment
- Operating System: Windows
- JDK version: 1.8.0_172
- Visual Studio Code version: 0.25.0-insider
- Java extension version: 0.26.0
Steps To Reproduce
I fiddled with swagger, switched branches and got this:
message: The project was not built since the source file /jdt.ls-java-project/src/[SWAGGERJAVASOURCEPATHSHERE] could not be read
Additional Informations
I got this fixed after doing countless cleans and eclipse:eclipse by removing the vscode workspaceStorage alltogether.
I can't exactly tell you reproduction steps since its now fixed and i forgot to write down steps beforehand... but you should probably know that the language server / vscode-java compiler has issues with copied java source files referencing nonexistent source files in the workspaceStorage
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
首先检查 Java language server 和 VS Code workspaceStorage 如何处理 Maven 多模块项目、分支切换、与 Swagger 相关的源引用以及不存在的源文件。报告没有可靠的复现步骤,也没有列出文件或测试名称;当过时的源引用不再导致 workspace 损坏时,即可视为完成。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- java, vscode
- 领域
- developer-experience, tooling
- Issue 类型
- 缺陷
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 需要澄清
- 新手友好度
- 30/100