redhat-developer / redhat-developer/vscode-java

Corrupted workspace in Maven Multi-Module Project

未关闭
#556 5 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

Maven
主要语言
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

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 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

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。