Skip to content

Auto completion - fields with enum #1160

@kodi0309

Description

@kodi0309

Description:
When a property is marked as required in the schema and also has an enum defined, the property itself does not appear in the completion suggestions (Ctrl+Space) in VS Code with the Red Hat YAML extension.
When enum is deleted works properly.

Expected behavior:
The property key should always appear in the completion list if it is required, regardless of whether it has an enum.

Actual behavior:
The property key is missing from the completion list when it has an enum, even though it is required.

Environment

  • Windows

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions