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

Cannot clear cache

Open headyj opened this issue 2 years ago • 2 comments

Describe the bug

Whatever I do, I cannot clear the cache referencing a schema on yaml.schemas

Expected Behavior

schema file path should be updated

Current Behavior

Current behaviour is simple: once you setup a schema for a specific filename in yaml.schemas, it's impossible to remove it. I tried to reload the window, clear cache, clear history, restart vscode or even the computer itself, it doesn't solve the issue: the yaml file is still "ghost-referencing" a schema that doesn't exist anymore anywhere on my computer.

If a rename the file (not the schema) it's working again since it's not referencing the "ghost-referencing" schema, which I obviously removed long time ago

Steps to Reproduce

  1. add a reference to a schema in yaml.schemas
  2. remove it
  3. clear cache, reload the window, clear history, restart vscode
  4. vscode is still referencing the schema

Environment

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

headyj avatar Apr 03 '23 14:04 headyj

experiencing this on macOS as well.

kneufeld-pbp avatar Jun 14 '23 15:06 kneufeld-pbp

I'm experiencing this and it's infuriating.

nikola418 avatar Aug 07 '24 13:08 nikola418