vscode-json5 icon indicating copy to clipboard operation
vscode-json5 copied to clipboard

:electric_plug: Syntax highlighting of JSON5 files in VS Code.

Results 11 vscode-json5 issues
Sort by recently updated
recently updated
newest added

![nWorks](https://github.com/mrmlnc/vscode-json5/assets/13949704/0ce485c7-6df6-434c-8858-372a000f4137) Even if i save the file, nothing happens .

I may be missing something obvious, but for the life of me I can't figure out what. Sadly the README doesn't include any build instructions.

This repo has a few improvements, most importantly (to me at least, and I think for other people as well) the possibility of highlighting keys with a different color than...

When using regular JSON, the vscode language features use a provided schema definition to enable intellisense to prompt with valid keys/values. These features don't work in JSON 5 files. I...

https://json5.org/ specifies that keys can be ECMAScript 5.1 [IdentifierName](https://262.ecma-international.org/5.1/#sec-7.6). So this pattern should include the dollar sign (among other changes, probably): https://github.com/mrmlnc/vscode-json5/blob/master/syntaxes/json5.json#L147

I'm new to this, but I'm having trouble overwriting the key color. I'm using the insiders build Version 1.20.0-insider Quoted keys seem to not register under the "string.key.json" scope. Unquoted...

If I'm not mistaken, that second entry should be red. ![image](https://user-images.githubusercontent.com/1350584/226448768-74b3f161-f6cb-4f0f-9f62-a861f3996b09.png)

I have this strange behaviour with comments : ``` { "field": value" // This comment is not tolerated and marked as invalid } ``` ``` { "field": value", // This...

Javascript folds code based on brackets. Your Json5 extension folds based on indentation. Do you know how to enable or are you planning to add this feature? See below example...

Fixes https://github.com/mrmlnc/vscode-json5/issues/4