yaml-language-server icon indicating copy to clipboard operation
yaml-language-server copied to clipboard

Provide full autocompletion when there are multiple requires and only one is fullfilled

Open JPinkney opened this issue 8 years ago • 0 comments

E.g. In a case when you have multiple require statements that have the same elements in the same context

required: [
"name",
"age"
]
....
required: [
"name"
]

and a schema so far consists of

name: Josh

Auto completion should autocomplete from both of the fields but currently just autocomplete from the second one because the second one is technically valid as well

JPinkney avatar Feb 01 '18 21:02 JPinkney