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

Allow users to change the default k8s schema #824

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

someone-stole-my-name
Copy link

What does this PR do?

Currently, there is no way to set the Kubernetes schema, it is hard-coded and a lot of internal magic depends on it. If you try to do it through the existing methods, i.e. a comment or an association, it offers a subpar experience with bad diagnostics and incomplete completion suggestions.

This PR exposes new notification to allow third party extensions and users to change the default Kubernetes schema on the fly and still get diagnostics and autocompletion from the LS.

What issues does this PR fix or reference?

#778

Add a new notification to allow users to change the default Kubernetes schema on the fly.
src/requestTypes.ts Fixed Show fixed Hide fixed
@coveralls
Copy link

coveralls commented Jan 3, 2023

Coverage Status

Coverage: 83.066% (+0.003%) from 83.063% when pulling a459479 on someone-stole-my-name:main into d3e36a3 on redhat-developer:main.

src/requestTypes.ts Fixed Show fixed Hide fixed
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

Successfully merging this pull request may close these issues.

2 participants