You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
VSCode complains about own settings.json/workspaceSettings.json (trailing comma) #81920
I don't recall ever enabling an extension jsonc, nor can I find any reference to it so I think it should be what VSCode uses by default. How can I get rid of this?
Does this issue occur when all extensions are disabled?:
Daniel Imms (@Tyriar) But I cannot edit that file because it’s “read only”. Can you reopen this issue please?
Also - the commas do not appear in the settings.JSON when I open it in the side-by-side JSON view. When I open the file in Sublime Text, the comma isn't there.
I have now ran the JSON file through a validator. Fixed all issues (unrelated to what's being reported by VSCode), and I still get this warning.
Update1: I have now cleaned my settings.json file completely, removed all extensions, and VSCode instantly complains when I switch to the JSON version of settings. I didn't even touch the file.
Update2: A completely new, clean install of VSCode exhibiting the same behaviour:
Update3: VSCode duplicates the same error, as many times as the settings pane is opened (see that most errors point to the same line):
Thanks for creating this issue! We figured it's covering the same as another one we already have. Thus, we closed this one as a duplicate. You can search for existing issues here. See also our issue reporting guidelines.
Activity
Tyriar commentedon Oct 3, 2019
VS Code settings are jsonc, you need to remove the trailing comma from the settings.
SHxKM commentedon Oct 3, 2019
Daniel Imms (@Tyriar) But I cannot edit that file because it’s “read only”. Can you reopen this issue please?
Also - the commas do not appear in the settings.JSON when I open it in the side-by-side JSON view. When I open the file in Sublime Text, the comma isn't there.
SHxKM commentedon Oct 3, 2019
I have now ran the JSON file through a validator. Fixed all issues (unrelated to what's being reported by VSCode), and I still get this warning.
Update1: I have now cleaned my settings.json file completely, removed all extensions, and VSCode instantly complains when I switch to the JSON version of settings. I didn't even touch the file.
Update2: A completely new, clean install of VSCode exhibiting the same behaviour:
Update3: VSCode duplicates the same error, as many times as the settings pane is opened (see that most errors point to the same line):
sandy081 commentedon Oct 4, 2019
/duplicate
#80419
vscodebot commentedon Oct 4, 2019
Thanks for creating this issue! We figured it's covering the same as another one we already have. Thus, we closed this one as a duplicate. You can search for existing issues here. See also our issue reporting guidelines.
Happy Coding!