Skip to content

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

Closed
@chuyangguangshin

Description

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" ] } } }

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions