redhat-developer / redhat-developer/vscode-java

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

Open
#2,479 0 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug extension-start
Dominant language
TypeScript
Stars
2.3k
Forks
546
Avg merge
20h 1m
Merged PRs (30d)
11

Description

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

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start in src/settings.ts around line 119, where the issue identifies the resource-scoped configuration access producing the warning. Verify the existing call and confirm that supplying the appropriate second argument removes the warning without changing the effective setting behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, typescript, vscode
Domain
developer-experience, tooling
Issue type
Bug
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.