Replies: 1 comment
-
Are you including |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
My primary goal is that my own VS code extension validates certain YAML files using a schema.
Firstly I tried to set up a language client using
yaml-language-server
and usingdefaultConfiguration
contribution point to set default valueyaml.schemas
. What I realized was that the user of my extension would need to have the file with the schema definition somehow distributed to them so I dropped this approach for now.Then, I found out about
yamlValidation
contribution point. I'm not sure how this should be used though. Is it possible to use without asking users to install your extension (meaningredhat.vscode-yaml
)?However, for now I tried to set up the contribution point,
put
my-schema.json
into the root of the extension, launched the extension… But it's not working. In this case, I have hadredhat.vscode-yaml
installed in the instance of VS Code I tested it in.I'm not sure what I'm missing.
Beta Was this translation helpful? Give feedback.
All reactions