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

Provide completion for reachable schema #560

Closed
apupier opened this issue Oct 21, 2021 · 0 comments
Closed

Provide completion for reachable schema #560

apupier opened this issue Oct 21, 2021 · 0 comments
Assignees

Comments

@apupier
Copy link
Member

apupier commented Oct 21, 2021

Is your enhancement related to a problem? Please describe.

When getting started on a file which doesn't have a schema already associated based on name or another provider, it is not easy to know where to search a schema and what is the url for it.
see also redhat-developer/vscode-yaml#567

Describe the solution you would like

it would nice to have a list of potential schemas from schemastore (somewhere else too? local?)
So when I call completion after # yaml-language-server: $schema=, there is a list of schema proposed.

Describe alternatives you have considered

Additional context

@apupier apupier self-assigned this Oct 26, 2021
apupier added a commit to apupier/yaml-language-server that referenced this issue Oct 26, 2021
potential improvements:
- support range when there is already a value provided
- provide completion for local yaml schema files

Extracted a specific file for modeline related things.

fixes redhat-developer#560

Signed-off-by: Aurélien Pupier <[email protected]>
apupier added a commit to apupier/yaml-language-server that referenced this issue Oct 26, 2021
potential improvements:
- support range when there is already a value provided
- provide completion for local yaml schema files

Extracted a specific file for modeline related things.

fixes redhat-developer#560

Signed-off-by: Aurélien Pupier <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant