redhat-developer / redhat-developer/vscode-java
Update error message when enable javac without setting jdk23
未关闭
还没有人认领这个 Issue。
- 主要语言
- TypeScript
- 星标
- 2.3k
- 派生
- 546
- 平均合并
- 20 小时 1 分钟
- 30 天内合并 PR
- 11
描述
Environment
- Operating System: Linux
- JDK version: 23
- Visual Studio Code version: 1.95.3
- Java extension version: 1.37.0
Steps To Reproduce
- Enable javac in settings:
"java.jdt.ls.javac.enabled": "on" - Open a java project
Current Result
Then you will get the error as below. It doesn't work if only set java.configuration.runtimes following the message in this error. Extension can work with java.jdt.ls.java.home which doesn't indicate in the error message.
Expected Result
Update the error message to prompt users to set java.jdt.ls.java.home.
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
在 JDK 23 中启用 java.jdt.ls.javac.enabled 并打开一个 Java 项目,以复现 Java extension 中的问题。找到产生配置错误的代码,并更新其指导信息以提及 java.jdt.ls.java.home;验证生成的消息是否与预期的设置一致。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- java, typescript, vscode
- 领域
- developer-experience, tooling
- Issue 类型
- 缺陷
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 45/100