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

Indenting Compact Array of Mapping Breaks Yaml

Open cancan101 opened this issue 4 months ago • 4 comments

Describe the bug

When selecting the yaml and indenting, the plugin produces broken yaml

Expected Behavior

Code is properly indented.

Current Behavior

Code is not properly indented and malformed.

Steps to Reproduce

Using:

children:
    - name: Items
      title: Items

Select text and hit tab.

Result:

    children:
        - name: Items
        title: Items

Environment

  • [ ] Windows
  • [x] Mac
  • [ ] Linux
  • [ ] other (please specify)

cancan101 avatar Jun 05 '25 21:06 cancan101