Describe the bug
Developer logs reports a significant number of Request textDocument/hover failed with message: no schema with key or ref "https://json-schema.org/draft-07/schema"
In vscode while using the YAML extension on hover, as activated by ctrl+spacebar.
Without using the keyboard shortcut no hover message appears.
Hover works as expected with JSON extension, for example.
Expected Behavior
Hover should show hints as expected without error.
Current Behavior
Hover does not work at all
Steps to Reproduce
- Install yaml extension in vscode
- Reference the following yaml.schemas in vscode
settings.json:
"yaml.schemas": {
"https://squidfunk.github.io/mkdocs-material/schema.json": "mkdocs.yml"
},
- Create
mkdocs.yml
site_name: My Docs
site_url: https://example.com
theme:
name: material
- Test if hover works as expected
- Test with
ctrl+spacebar while cursor is on a key
Environment