Skip to content

Doesn't support comments in json #16

Description

@jasonbeach

I know json by definition doesn't support comments, however vscode allows them in its config files. Would be nice if those comments didn't break this extension but they appear to. When I add this:

	"extensions": {
	// See http://go.microsoft.com/fwlink/?LinkId=827846 to learn about workspace recommendations.
	// Extension identifier format: ${publisher}.${name}. Example: vscode.csharp
	// List of extensions which should be recommended for users of this workspace.
	"recommendations": [
		"ms-python.python",
		"ms-vscode.cpptools",
		"llvm-vs-code-extensions.vscode-clangd",
		"twxs.cmake",
		"bbenoist.doxygen",
		"cschlosser.doxdocgen",
		"eamodio.gitlens",
		"mhutchie.git-graph",
		"ms-azuretools.vscode-docker"
	]

to a code-workspace file that otherwise works, I get the following error when trying to sort folders:

Expected end of input but "." found.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions