vscode-yaml icon indicating copy to clipboard operation
vscode-yaml copied to clipboard

Autocompletion: automatically insert constant values when properties are autocompleted

Open FALLAI-Denis opened this issue 4 years ago • 1 comments

Describe the solution you would like

A schema can declare properties associated with a constant value.

We would like the constant value associated with a property to be automatically inserted at the same time that this property is autocompleted.

FALLAI-Denis avatar Apr 08 '21 07:04 FALLAI-Denis

The automatic insertion of value during autocompletion could also concern:

  • the "default" value
  • the "enum" value when it is unique

FALLAI-Denis avatar Apr 09 '21 08:04 FALLAI-Denis