redhat-developer / redhat-developer/vscode-java
support relative paths when configuring jdk
未关闭
还没有人认领这个 Issue。
- 主要语言
- TypeScript
- 星标
- 2.3k
- 派生
- 546
- 平均合并
- 20 小时 1 分钟
- 30 天内合并 PR
- 11
描述
my project's jdk is located in a directory relative to the project root, but specifying a relative path does not seem to be supported:
{
"java.jdt.ls.java.home": "./jdk"
// also doesn't work:
// "java.jdt.ls.java.home": "${workspaceFolder}/jdk"
}
it would be nice if i could do this because it would allow me to commit this in my workspace settings.json so that others working on my project don't have to configure the path to their jdk manually, since it's located in the same spot for everybody
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
首先定位扩展对 java.jdt.ls.java.home 设置的处理方式,以及 workspace 路径的解析方式。在 workspace 的 settings.json 中检查 ./jdk 和 ${workspaceFolder}/jdk 两者的行为,然后验证相对于项目的 JDK 路径对其他贡献者也能一致地工作。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- java, typescript
- 领域
- developer-experience, tooling
- Issue 类型
- 功能
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 45/100