Unnamed repository; edit this file 'description' to name the repository.
Auto merge of #13722 - MariaSolOs:add-json-contrib, r=Veykril
Add VS Code schema validation for `rust-project.json` Now that https://github.com/SchemaStore/schemastore/pull/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: #13714
bors 2022-12-09
parent 6e8a54d · parent fb60b10 · commit 83e2639
-rw-r--r--editors/code/package.json8
1 files changed, 7 insertions, 1 deletions
diff --git a/editors/code/package.json b/editors/code/package.json
index ad5f97bb19..5b83701a68 100644
--- a/editors/code/package.json
+++ b/editors/code/package.json
@@ -1788,6 +1788,12 @@
"group": "navigation@1000"
}
]
- }
+ },
+ "jsonValidation": [
+ {
+ "fileMatch": "rust-project.json",
+ "url": "https://json.schemastore.org/rust-project.json"
+ }
+ ]
}
}