aboutsummaryrefslogtreecommitdiff
path: root/editors/code
diff options
context:
space:
mode:
authorClemens Wasser <[email protected]>2020-06-10 08:27:25 +0100
committerClemens Wasser <[email protected]>2020-06-10 08:27:25 +0100
commit33b905883819038ad67476fe14b7b48212a73f93 (patch)
tree7d9968871e81815c876d8cf15b308d4a70a87f68 /editors/code
parent47ef544fa57ca1833b466e491315e54a88780b4d (diff)
Most of the checkOnSafe options now default to the cargo equivalent.
Diffstat (limited to 'editors/code')
-rw-r--r--editors/code/package.json11
1 files changed, 7 insertions, 4 deletions
diff --git a/editors/code/package.json b/editors/code/package.json
index 6389499e9..647c83685 100644
--- a/editors/code/package.json
+++ b/editors/code/package.json
@@ -318,9 +318,12 @@
318 "markdownDescription": "Check all targets and tests (will be passed as `--all-targets`)" 318 "markdownDescription": "Check all targets and tests (will be passed as `--all-targets`)"
319 }, 319 },
320 "rust-analyzer.checkOnSave.allFeatures": { 320 "rust-analyzer.checkOnSave.allFeatures": {
321 "type": "boolean", 321 "type": [
322 "default": false, 322 "null",
323 "markdownDescription": "Check with all features (will be passed as `--all-features`)" 323 "boolean"
324 ],
325 "default": null,
326 "markdownDescription": "Check with all features (will be passed as `--all-features`). Defaults to `rust-analyzer.cargo.allFeatures`."
324 }, 327 },
325 "rust-analyzer.checkOnSave.features": { 328 "rust-analyzer.checkOnSave.features": {
326 "type": "array", 329 "type": "array",
@@ -328,7 +331,7 @@
328 "type": "string" 331 "type": "string"
329 }, 332 },
330 "default": [], 333 "default": [],
331 "description": "List of features to activate. Set to `rust-analyzer.cargo.features` if empty." 334 "description": "List of features to activate. Defaults to `rust-analyzer.cargo.features`."
332 }, 335 },
333 "rust-analyzer.inlayHints.enable": { 336 "rust-analyzer.inlayHints.enable": {
334 "type": "boolean", 337 "type": "boolean",