redhat-developer / redhat-developer/vscode-java

To get the effective value for '[java]', provide the URI of a resource or 'null' for any resource.

未关闭
#2,479 0 条评论 2 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

bug extension-start
主要语言
TypeScript
星标
2.3k
派生
546
平均合并
20 小时 1 分钟
30 天内合并 PR
11

描述

A warning in Log (Extension Host)

[2022-05-30 09:49:42.701] [exthost] [warning] [redhat.java] Accessing a resource scoped configuration without providing a resource is not expected. To get the effective value for '[java]', provide the URI of a resource or 'null' for any resource.

I assume that, adding null as a second parameter would fix the warning and maintain the same behavior.

https://github.com/redhat-developer/vscode-java/blob/01d07b9aaa4ae3375a2927042708a62c856bc384/src/settings.ts#L119

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

从 src/settings.ts 第 119 行附近开始,issue 在这里指出了会产生警告的资源作用域配置访问。验证现有调用,并确认提供适当的第二个参数可以消除警告,同时不改变设置的实际行为。

由索引模型根据 Issue 内容生成。

评估

技术栈
java, typescript, vscode
领域
developer-experience, tooling
Issue 类型
缺陷
难度
1/5
预计耗时
1 小时以内
活跃度
停滞
描述清晰度
描述清楚
新手友好度
55/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。