Skip to content

Formatting valid json content is causing an invalid json #33

Description

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

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