Skip to content

API doesnt update settings if there are trailing commas in settings.json #19625

@shanalikhan

Description

@shanalikhan

Users of my Settings sync extension having problems shanalikhan/code-settings-sync#190

When they have trailing commas in settings.json , API doenst allow extension to add keys and values in settings.json file , Giving error code 4.

There should be way in code to let users know that they dont have valid JSON in settings.json file e.g trailing commas, without opening that file may be in status bar or let API to add settings in the settings.json file even it have trailing commas.

Metadata

Metadata

Assignees

Labels

configVS Code configuration, settingsfeature-requestRequest for new features or functionalityjsonJSON support issuesverification-neededVerification of issue is requestedverifiedVerification succeeded

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions