Skip to content

[json] JSON array suggestion should stay single line #50528

@fxedel

Description

@fxedel

Issue Type: Feature Request

When you edit a JSON document with a JSON schema attached and accept a suggestion for a property that takes an array, the array is immediately enlarged into three lines.

But often, you don't want the array to take a line per array item, because the whole array could be written into a single line. You have to delete the automatically added lines by hand then. This is much more work than it would to take to press Enter if VSCode created inline arrays.

output

So my suggestion is not to create these extra lines and let the user decide whether he wants each item in a single line (press Enter) or the whole array in a single line.

VS Code version: Code 1.23.0 (7c7da59, 2018-05-03T15:23:19.356Z)
OS version: Linux x64 4.15.0-23-generic

Metadata

Metadata

Assignees

Labels

feature-requestRequest for new features or functionalityjsonJSON support issues

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions