Open abgox opened 3 months ago
At the moment, schemas are always additive. There's currently not way of disabling other schemas.
- By the way, when I define the schema in settings.json, it means that I want to use my own defined schema, not the default or third-party-provided one.
- So, in this case, the schema I defined in settings.json should have the highest priority. It should take effect immediately, without me even having to make a choice.
By the way, all schemas are as follows:
$schema
attribute in the JSON file.json.schemas
attribute in settings.json
(Workspace)json.schemas
attribute in settings.json
(User)I believe the correct priority for schema should be: 1 > 2 > 3 > 4
But Now, It's 1 > 4 > 3 > 2
At the moment, schemas are always additive. There's currently not way of disabling other schemas.
All matching schemas are combined with an allOf
. The schema is tested against all schemas.
So the order does not matter.
Note that schemas defined in the workspace settings replace the schemas in the user settings. This is how the VS Code settings work.
Note that schemas defined in the workspace settings replace the schemas in the user settings.
Does this issue occur when all extensions are disabled?: Yes/No