Skip to content

Formatting valid json content is causing an invalid json #33

Closed
@sandy081

Description

@sandy081

Format following valid json

{"version": 1,"setttings": // This is some text
{
	// some comment
	"workbench.settings.editor": "json",
	"workbench.settings.useSplitJSON": true,
	"workbench.colorTheme": "Default Light+",
}
}

Output:

{
	"version": 1,
	"setttings": // This is some text {
		// some comment
		"workbench.settings.editor": "json",
		"workbench.settings.useSplitJSON": true,
		"workbench.colorTheme": "Default Light+",
	}
}

Metadata

Metadata

Assignees

Labels

bugIssue identified by VS Code Team member as probable bug

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions