redhat-developer / redhat-developer/vscode-java
Editing classpath file requires restart of VS Code
还没有人认领这个 Issue。
- 主要语言
- TypeScript
- 星标
- 2.3k
- 派生
- 547
- 平均合并
- 20 小时 1 分钟
- 30 天内合并 PR
- 11
描述
Originally created by @VanessaLange at Microsoft/vscode-java-debug#576
When adding a jar to the classpath file the program won't build any longer and you get the error message: "Build failed, do you want to continue?" You have to restart VS Code before it works again.
Environment
- Operating System: macOS Mojave Version 10.14.4 (also Windows 10)
- JDK version: openjdk version "1.8.0_212"
- Visual Studio Code version: 1.33.1
- Java extension version: 0.43.0
- Java Debugger extension version: 0.17.0
Steps To Reproduce
- Create a new Java Project
- Add a jar to the classpath
- Try to run the program
Current Result
The build fails and you cannot run the program.
Expected Result
Either building works out of the box when editing the classpath or at least we get a message that restarting VS Code is required.
Additional Informations
The language server is loaded correctly (thumbs up icon).
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
在新的 Java Project 中将一个 jar 添加到 classpath 并在 VS Code 中运行程序,以重现该故障。跟踪 Java extension 如何处理 classpath 编辑和构建状态;完成标准是项目无需重启 VS Code 即可构建和运行,或者明确报告何时需要重启。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- java, vscode
- 领域
- build-system, developer-experience
- Issue 类型
- 缺陷
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100