We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Given the following schema:
{ "title": "Example", "type": "object", "properties": { "foo": { "title": "Foo", "type": "string", "defaultSnippets": [ { "label": "foobar", "markdownDescription": "# FooBar\n```Foo Bar```", "body": "foobar" }, { "label": "foobaz", "markdownDescription": "# FooBaz\n```Foo Baz```", "body": "foobaz" } ] }, "bar": { "title": "Bar", "type": "object", "default": {} } }, "allOf": [ { "if": { "properties": { "foo": { "const": "foobar" } } }, "then": { "properties": { "bar": { "properties": { "barbar": { "title": "BarBar", "description": "Bar Bar Bar" } } } } } }, { "if": { "properties": { "foo": { "const": "foobaz" } } }, "then": { "properties": { "bar": { "properties": { "barbaz": { "title": "BarBaz", "description": "Bar Baz Bar" } } } } } } ] }
The quick suggestions should show the snippets with descriptions.
The snippet quick suggestions don't show any description.
This is because the quick suggestions are using the const from the if elses in the "allOf" section instead of the snippets.
"allOf"
foo:
"defaultSnippets"
The text was updated successfully, but these errors were encountered:
msivasubramaniaan
No branches or pull requests
Describe the bug
Given the following schema:
Expected Behavior
The quick suggestions should show the snippets with descriptions.
Current Behavior
The snippet quick suggestions don't show any description.
This is because the quick suggestions are using the const from the if elses in the
"allOf"
section instead of the snippets.Steps to Reproduce
foo:
and hit ctrl + space"defaultSnippets"
and see that the suggestions don't change."allOf"
section you will notice that the description does show like it should now.Environment
The text was updated successfully, but these errors were encountered: