Microsoft/vscode
View on GitHubSupport naming settings.json as settings.jsonc (and others)
Open
#269824 opened on Oct 4, 2025
feature-requesthelp wantedsettings-editor
Description
Does this issue occur when all extensions are disabled?: Yes
- VS Code Version: 1.104.2
- OS Version: Linux
Steps to Reproduce:
- Create
.vscode/settings.json,.vscode/extensions.json, etc. - Put a comment into that "JSON", as allowed by https://jsonc.org, used implicitly by VSC
- Use any other of about a billion existing tool which assumes that
*.jsonare https://www.json.org and not https://jsonc.org - See that tool fail, e.g. https://github.com/pre-commit/pre-commit-hooks/issues/1196
This was already reported in https://github.com/microsoft/vscode/issues/79744 over 6+ years ago.
Would a PR to add support for this be welcome?