Recurring vscode JSON validation issues #17807

Open
opened 2026-01-31 05:54:04 +00:00 by claunia · 0 comments
Owner

Originally created by @RivenSkaye on GitHub (Jun 27, 2022).

Recently started using Windows Terminal to try and bring all shells to one place. And it does its job perfectly, even allowing me to run an MSYS2 env at the click of a button! However, when editing the settings.json I noticed a couple validation warnings.

First off: Matches multiple schemas when only one must validate.
You guessed it, the "backgroundImage" key is acting up again, just like in 2019's #3909 which was supposedly fixed with #4045
Flagged in settings.json > "profiles" > "defaults" && "list" > *
Does not get flagged when put next to "profiles" (so in the top level of settings.json), while this should cause the JSON to not validate at all.

Next up is a repeat of #11629 Property intenseTextStyle is not allowed. which was closed due to the issue going stale.
This gets flagged in settings.json > "profiles" > "defaults" && "list" > *
Does not get flagged when put next to "profiles" (so in the top level of settings.json), while this should cause the JSON to not validate at all.

image

If requested, I can try other validators to see if the issue lies in vscode instead of here. Opted to open it here first because 3909 was also flagged and fixed as being a JSON schema issue

For completeness sake, let me add:
Windows Terminal version 1.13.11431.0
OS: Microsoft Windows [Version 10.0.19044.1766]

Originally created by @RivenSkaye on GitHub (Jun 27, 2022). Recently started using Windows Terminal to try and bring all shells to one place. And it does its job perfectly, even allowing me to run an MSYS2 env at the click of a button! However, when editing the `settings.json` I noticed a couple validation warnings. First off: `Matches multiple schemas when only one must validate.` You guessed it, the `"backgroundImage"` key is acting up again, just like in 2019's #3909 which was supposedly fixed with #4045 Flagged in `settings.json` > `"profiles"` > `"defaults"` && `"list"` > `*` Does **not** get flagged when put next to `"profiles"` (so in the top level of `settings.json`), while this _should_ cause the JSON to not validate at all. Next up is a repeat of #11629 `Property intenseTextStyle is not allowed.` which was closed due to the issue going stale. This gets flagged in `settings.json` > `"profiles"` > `"defaults"` && `"list"` > `*` Does **not** get flagged when put next to `"profiles"` (so in the top level of `settings.json`), while this _should_ cause the JSON to not validate at all. ![image](https://user-images.githubusercontent.com/14993038/175920255-8737093a-a1c4-4cc1-aeb2-97d010b2b0b2.png) If requested, I can try other validators to see if the issue lies in vscode instead of here. Opted to open it here first because 3909 was also flagged and fixed as being a JSON schema issue For completeness sake, let me add: Windows Terminal version 1.13.11431.0 OS: Microsoft Windows [Version 10.0.19044.1766]
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#17807