Skip to content

Commit

Permalink
Auto merge of rust-lang#13722 - MariaSolOs:add-json-contrib, r=Veykril
Browse files Browse the repository at this point in the history
Add VS Code schema validation for `rust-project.json`

Now that SchemaStore/schemastore#2628 has been merged, adding the `jsonValidation` contribution to the VS Code extension for better editor support when modifying `rust-project.json` files.

Related issue: rust-lang#13714
  • Loading branch information
bors committed Dec 9, 2022
2 parents 6e8a54d + fb60b10 commit 83e2639
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion editors/code/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -1788,6 +1788,12 @@
"group": "navigation@1000"
}
]
}
},
"jsonValidation": [
{
"fileMatch": "rust-project.json",
"url": "https://json.schemastore.org/rust-project.json"
}
]
}
}

0 comments on commit 83e2639

Please sign in to comment.