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
✅ JSON file validation for settings-schema.json and metadata.json files is available thanks to: #4058 and #4053 PRs.
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.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
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