redhat-developer / redhat-developer/vscode-java
inform/detect which operating system a jdk comes from and stop this error
未关闭
还没有人认领这个 Issue。
- 主要语言
- TypeScript
- 星标
- 2.3k
- 派生
- 546
- 平均合并
- 20 小时 1 分钟
- 30 天内合并 PR
- 11
描述
whenever i open a java project in vscode in a different operating system, this appears:
those jdk exists, but in another machine, another operating system.
please make possible detect if jdks belongs to the current operating system so the message does not pops out.
Environment
- Operating System: it varies, try mac and linux
- JDK version: varies
- Visual Studio Code version: at least the 6 last releases
- Java extension version: latest one presents the issue
Steps To Reproduce
- sync vscode account and settings across operating systems
- configure distinct jvms on each OS
Current Result
The jvm marked as missing exists in another OS
Expected Result
my account works across distinct installations, that setting is platform-dependent, or at least should be
Additional Informations
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
未指定源文件或测试。首先跟踪 VS Code 设置同步如何恢复 JVM 配置,以及扩展如何在 macOS 和 Linux 上验证已配置的 JDK;复现所报告的跨平台设置。当配置的 JDK 在本地有效时,来自其他操作系统的设置不再产生缺少 JDK 的警告,即表示完成。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- java, typescript, vscode
- 领域
- developer-experience, tooling
- Issue 类型
- 功能
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100