aboutsummaryrefslogtreecommitdiff
path: root/editors/code/package.json
diff options
context:
space:
mode:
Diffstat (limited to 'editors/code/package.json')
-rw-r--r--editors/code/package.json64
1 files changed, 57 insertions, 7 deletions
diff --git a/editors/code/package.json b/editors/code/package.json
index 75dbafc05..e2027970d 100644
--- a/editors/code/package.json
+++ b/editors/code/package.json
@@ -238,7 +238,7 @@
238 }, 238 },
239 "rust-analyzer.cargo.allFeatures": { 239 "rust-analyzer.cargo.allFeatures": {
240 "type": "boolean", 240 "type": "boolean",
241 "default": true, 241 "default": false,
242 "description": "Activate all available features" 242 "description": "Activate all available features"
243 }, 243 },
244 "rust-analyzer.cargo.features": { 244 "rust-analyzer.cargo.features": {
@@ -318,9 +318,23 @@
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": true, 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`."
327 },
328 "rust-analyzer.checkOnSave.features": {
329 "type": [
330 "null",
331 "array"
332 ],
333 "items": {
334 "type": "string"
335 },
336 "default": null,
337 "description": "List of features to activate. Defaults to `rust-analyzer.cargo.features`."
324 }, 338 },
325 "rust-analyzer.inlayHints.enable": { 339 "rust-analyzer.inlayHints.enable": {
326 "type": "boolean", 340 "type": "boolean",
@@ -462,17 +476,53 @@
462 "default": true 476 "default": true
463 }, 477 },
464 "rust-analyzer.lens.run": { 478 "rust-analyzer.lens.run": {
465 "markdownDescription": "Whether to show Run lens. Only applies when `#rust-analyzer.lens.enable#` is set.", 479 "markdownDescription": "Whether to show `Run` lens. Only applies when `#rust-analyzer.lens.enable#` is set.",
466 "type": "boolean", 480 "type": "boolean",
467 "default": true 481 "default": true
468 }, 482 },
469 "rust-analyzer.lens.debug": { 483 "rust-analyzer.lens.debug": {
470 "markdownDescription": "Whether to show Debug lens. Only applies when `#rust-analyzer.lens.enable#` is set.", 484 "markdownDescription": "Whether to show `Debug` lens. Only applies when `#rust-analyzer.lens.enable#` is set.",
471 "type": "boolean", 485 "type": "boolean",
472 "default": true 486 "default": true
473 }, 487 },
474 "rust-analyzer.lens.implementations": { 488 "rust-analyzer.lens.implementations": {
475 "markdownDescription": "Whether to show Implementations lens. Only applies when `#rust-analyzer.lens.enable#` is set.", 489 "markdownDescription": "Whether to show `Implementations` lens. Only applies when `#rust-analyzer.lens.enable#` is set.",
490 "type": "boolean",
491 "default": true
492 },
493 "rust-analyzer.hoverActions.enable": {
494 "description": "Whether to show HoverActions in Rust files.",
495 "type": "boolean",
496 "default": true
497 },
498 "rust-analyzer.hoverActions.implementations": {
499 "markdownDescription": "Whether to show `Implementations` action. Only applies when `#rust-analyzer.hoverActions.enable#` is set.",
500 "type": "boolean",
501 "default": true
502 },
503 "rust-analyzer.hoverActions.run": {
504 "markdownDescription": "Whether to show `Run` action. Only applies when `#rust-analyzer.hoverActions.enable#` is set.",
505 "type": "boolean",
506 "default": true
507 },
508 "rust-analyzer.hoverActions.debug": {
509 "markdownDescription": "Whether to show `Debug` action. Only applies when `#rust-analyzer.hoverActions.enable#` is set.",
510 "type": "boolean",
511 "default": true
512 },
513 "rust-analyzer.linkedProjects": {
514 "markdownDescription": "Disable project auto-discovery in favor of explicitly specified set of projects. \nElements must be paths pointing to Cargo.toml, rust-project.json, or JSON objects in rust-project.json format",
515 "type": "array",
516 "items": {
517 "type": [
518 "string",
519 "object"
520 ]
521 },
522 "default": null
523 },
524 "rust-analyzer.withSysroot": {
525 "markdownDescription": "Internal config for debugging, disables loading of sysroot crates",
476 "type": "boolean", 526 "type": "boolean",
477 "default": true 527 "default": true
478 } 528 }