Open p-spacek opened 1 year ago
Hello @msivasubramaniaan, can I ask you for a review, please?
We do inherit the doNotSuggest
property from vscode json language service. As far as I can see on the JSON land it only applies to properties. Although I think this is an interesting usage of it.
@aeschli Is this something interesting for vscode json language service too?
Yes, if you want to make a PR against the json-language-service that would be great.
Note that doNotSuggest
is internal and we don't want to advertise this. But if you can use it internally, why not.
Yes, if you want to make a PR against the json-language-service that would be great. Note that
doNotSuggest
is internal and we don't want to advertise this. But if you can use it internally, why not.
Hi, I created PR for this functionality https://github.com/microsoft/vscode-json-languageservice/pull/213 but I found a not-related issue probably, see the linked PR.
What does this PR do?
exclude doNotSuggest schema from autocompletion
doNotSuggest
was already there but implemented only for the simple object properties. This PR usesdoNotSuggest
also for other scenarios: anyOf, valuesWhat issues does this PR fix or reference?
related to the previous unfinished PR for the deprecated property: https://github.com/redhat-developer/yaml-language-server/pull/833
Is it tested? How?
adds unit tests