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

Auto completion can't suggest string enums correctly in Flow Style content. #239

Closed
chuyangguangshin opened this issue Feb 18, 2020 · 0 comments · Fixed by #342
Closed
Assignees
Milestone

Comments

@chuyangguangshin
Copy link

When write a piece of yaml in flow style, Auto completion can't suggest string enums.

Here is a demo:
image

while in indent mode, it can suggest right choices:
image

However, if you already input some characters , the suggestion just works again event in flow style :
image

schema.json used in the demo:

{ "$schema": "http://json-schema.org/draft-07/schema", "type":"object", "properties": { "A" : { "type" : "string", "enum": [ "a1", "a2" ] }, "B" : { "type":"string", "enum": [ "b1", "b2" ] } } }

@JPinkney JPinkney added the bug label Feb 18, 2020
@evidolob evidolob mentioned this issue Aug 10, 2020
10 tasks
@evidolob evidolob added this to the Sprint #191 milestone Oct 7, 2020
@evidolob evidolob self-assigned this Oct 26, 2020
evidolob added a commit to evidolob/yaml-language-server that referenced this issue Oct 27, 2020
Signed-off-by: Yevhen Vydolob <yvydolob@redhat.com>
evidolob added a commit that referenced this issue Oct 28, 2020
* #239 fix completion on flow style mapping

Signed-off-by: Yevhen Vydolob <yvydolob@redhat.com>

* update parser version

Signed-off-by: Yevhen Vydolob <yvydolob@redhat.com>

* set test timeout to 5s

Signed-off-by: Yevhen Vydolob <yvydolob@redhat.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants