Add interactive JSON files validation inside VS Code #600
EmilyGraceSeville7cf
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Introduction
Hi! AFAIK there is already a validation script for settings-schema.json and metadata.json files. But, whatever, this script doesn't allow getting benefits from VS Code editor IntelliSence and interactive validation. And AFAIS it doesn't do extensive checks: there is no corresponding JSON schema found and not all properties are checked (correct me if I'm wrong).
Solution
That's why I have created #1270 PR to add this missing feature.
Notes
I would recommend switch to JSON schema completely for checks it allows performing. For more advanced ones, when we need to compare something outside the JSON file with some of it contents, Python script should be used.
Beta Was this translation helpful? Give feedback.
All reactions