codemirror-json-schema icon indicating copy to clipboard operation
codemirror-json-schema copied to clipboard

fix(yaml): remove square brackets from array completions

Open undg opened this issue 1 month ago • 2 comments

Fixes #152

Remove array brackets from YAML completions

When completing array items in YAML files, the completion was inserting square brackets [] which is invalid YAML syntax. YAML uses indented list items with dashes instead.

Before: items: [] After: items:

This change only affects YAML files - JSON completion behavior unchanged.

undg avatar Oct 21 '25 18:10 undg

⚠️ No Changeset found

Latest commit: 8264535cf0465cbe8e1d095c53e5d669eded815a

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

changeset-bot[bot] avatar Oct 21 '25 18:10 changeset-bot[bot]

Deploy Preview for codemirror-json-schema ready!

Name Link
Latest commit 8264535cf0465cbe8e1d095c53e5d669eded815a
Latest deploy log https://app.netlify.com/projects/codemirror-json-schema/deploys/68f7d06645e8a10008019650
Deploy Preview https://deploy-preview-162--codemirror-json-schema.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

netlify[bot] avatar Oct 21 '25 18:10 netlify[bot]