vscode-yaml icon indicating copy to clipboard operation
vscode-yaml copied to clipboard

Resource scoped settings are accessed without a resource

Open bjtho08 opened this issue 10 months ago • 2 comments

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

  • [x] Windows
  • [ ] Mac
  • [ ] Linux
  • [ ] other (please specify)

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

bjtho08 avatar Sep 13 '23 08:09 bjtho08

Replicated on version v1.14.0 on Mac

Version: 1.84.0-insider (Universal)
Commit: 874831ebcf088f59735879156f62308ce48f17d1
Date: 2023-10-06T19:18:47.163Z
Electron: 25.8.4
ElectronBuildId: 24154031
Chromium: 114.0.5735.289
Node.js: 18.15.0
V8: 11.4.183.29-electron.0
OS: Darwin arm64 23.0.0

Budgiebrain994 avatar Oct 09 '23 05:10 Budgiebrain994

Same here, version v1.14.0 on Cursor

Version: 0.21.1
VSCode Version: 1.84.2
Commit: 1a7903c409e3e915db28f4c124497660066e85a0
Date: 2023-12-30T03:05:39.344Z (1 wk ago)
Electron: 25.9.2
ElectronBuildId: undefined
Chromium: 114.0.5735.289
Node.js: 18.15.0
V8: 11.4.183.29-electron.0
OS: Darwin arm64 23.2.0

willjhenry avatar Jan 06 '24 16:01 willjhenry