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

$ signs in object key names marked red

Open jsalvata opened this issue 3 years ago • 2 comments

https://json5.org/ specifies that keys can be ECMAScript 5.1 IdentifierName.

So this pattern should include the dollar sign (among other changes, probably): https://github.com/mrmlnc/vscode-json5/blob/master/syntaxes/json5.json#L147

jsalvata avatar Feb 24 '21 17:02 jsalvata

Any chance this will be resolved any time soon?

chaeron avatar Jan 14 '23 18:01 chaeron

$id , $type , $values and such other are used as keywords for exporting/importing Objects, i assume that they should be marked with warnings .

irvnriir avatar Jun 05 '23 17:06 irvnriir