Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is there tilde expanstion feature on the horizon (or already supported) in schemas paths? #956

Open
nugged opened this issue Mar 24, 2024 · 0 comments

Comments

@nugged
Copy link

nugged commented Mar 24, 2024

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/....

@nugged nugged closed this as completed Mar 24, 2024
@nugged nugged reopened this Mar 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant