Skip to content

Autocompletion by default values bug #1125

@murderface45

Description

@murderface45

Describe the bug

Hello! II have two JSON schemas with the same attributes but different structures. In both schemas, a default value is set for the domain attribute. When using autocompletion, the default value for the domain attribute is not automatically inserted from schema1.json, but it is inserted from schema2.json.

schema1.json
schema2.json

Expected Behavior

Default values for all attributes are inserted automatically.

Current Behavior

Default values from the JSON schema are not being inserted automatically.

Steps to Reproduce

  1. Open empty .yml file
  2. Press ctrl + space
  3. Select object
  4. Press enter

Environment

  • Windows
  • Mac
  • Linux
  • other (please specify)

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions