redhat-developer / redhat-developer/yaml-language-server
Is there tilde expanstion feature on the horizon (or already supported) in schemas paths?
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 1.5k
- Forks
- 352
- Avg merge
- 2d 7h
- Merged PRs (30d)
- 11
Description
I.e. we have this:
https://github.com/redhat-developer/yaml-language-server?tab=readme-ov-file#more-examples-of-schema-association
"yaml.schemas": {
"http://json.schemastore.org/composer": ["/*"],
"file:///home/johnd/some-schema.json": ["some.yaml"],
"../relative/path/schema.json": ["/config*.yaml"],
"/Users/johnd/some-schema.json": ["some.yaml"],
}
which allows even relative paths, but nothing is said about if I want to have:
"~/some/home/path/schema.json": ["/config*.yaml"],
or any other ways to make this work?
Why I want — maybe another acceptable solution — I just want to have some team presets of "yaml.schemas," which should be independent of usernames in file:///home/user/....
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
Start with the README section “More examples of schema association” and trace how schema paths are resolved in the language server. Look for existing schema-association tests, then define completion criteria around team-shared configuration supporting home-relative schema paths without usernames.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript, yaml
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100