yaml-language-server
yaml-language-server copied to clipboard
Support for hash URLs in `yaml.schemas` VS Code settings | ex: `my.schema.yaml#properties/someProp`
Is your enhancement related to a problem? Please describe.
# yaml-language-server: $schema=../boat.schema.yaml#properties/someFeatures
#properties/someFeatures
works.
"yaml.schemas": {
"content/boats/boat.schema.yaml#properties/someFeatures": [
"content/boats/*/some-features.yaml"
]
}
#properties/someFeatures
doesn't seems to work?
Describe the solution you would like
Hash schema URLs working in global workspace VS Code settings
Describe alternatives you have considered
Splitting properties in sub-files schema; but generate too much noise.
OR
putting # yaml-language-server: $schema=...
everywhere it's needed (noisy, too).
Additional context
Working on this experiment:
https://github.com/JulianCataldo/content-components