redhat-developer / redhat-developer/vscode-yaml
Cannot clear cache
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 829
- Forks
- 260
- Avg merge
- 5h 43m
- Merged PRs (30d)
- 1
Description
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
- add a reference to a schema in yaml.schemas
- remove it
- clear cache, reload the window, clear history, restart vscode
- vscode is still referencing the schema
Environment
- Windows
- Mac
- Linux
- other (please specify)
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the issue on Linux by adding and then removing a schema entry in yaml.schemas, followed by the reload and restart steps listed. The payload names no source file, test, or entry point, so trace the schema-reference and cache handling from the configuration path; done means the removed schema is no longer referenced without renaming the YAML file.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- devtools
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100