Skip to content

Resource scoped settings are accessed without a resource #972

@bthorsted

Description

@bthorsted

Describe the bug

The extension is attempting to access a resource scoped configuration without actually providing a resource. The extension host log gives the following two lines:

2023-09-13 09:29:01.686 [warning] [redhat.vscode-yaml] Accessing a resource scoped configuration without providing a resource is not expected. To get the effective value for '[yaml]', provide the URI of a resource or 'null' for any resource.
2023-09-13 09:29:01.779 [warning] [redhat.vscode-yaml] Accessing a resource scoped configuration without providing a resource is not expected. To get the effective value for '[yaml]', provide the URI of a resource or 'null' for any resource.

This issue is identical to #478, which also appears to outline the way to fix the still-present issue.

Environment

  • Windows
  • Mac
  • Linux
  • other (please specify)

I am running v1.14.0 of the extension in VSCode 1.82.1.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Status

In Progress

Relationships

None yet

Development

No branches or pull requests

Issue actions