redhat-developer / redhat-developer/vscode-java
Customize tooling_jre with env var
还没有人认领这个 Issue。
- 主要语言
- TypeScript
- 星标
- 2.3k
- 派生
- 547
- 平均合并
- 20 小时 1 分钟
- 30 天内合并 PR
- 11
描述
I have a use case where I need tooling_jre to be customizable: https://github.com/redhat-developer/vscode-java/blob/master/src/requirements.ts#L36.
I can't use the embedded ones because I need to use a custom one that has the right certs to work with an internal service. I also can't use java.jdt.ls.java.home because the location of the JRE will depend on which machine it's running on. Also, settings.json doesn't accept env variables.
Is it possible to get tooling_jre from an env var?
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
首先阅读 src/requirements.ts 第 36 行附近的内容,以了解 tooling_jre 的选择方式,以及当前 embedded-JRE 行为的定义位置。确定环境变量和回退行为,然后验证是否可以针对每台机器自定义 tooling_jre,同时不破坏现有的配置路径。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- java, typescript, vscode
- 领域
- developer-experience, tooling
- Issue 类型
- 功能
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100