The Wayback Machine - https://web.archive.org/web/20201025202722/https://github.com/redhat-developer/yaml-language-server/issues/239
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

Open
chuyangguangshin opened this issue Feb 18, 2020 · 0 comments
Labels
Milestone

Comments

@chuyangguangshin
Copy link

@chuyangguangshin chuyangguangshin commented Feb 18, 2020

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
3 of 10 tasks complete
@evidolob evidolob added this to the Sprint #191 milestone Oct 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
3 participants
You can’t perform that action at this time.