diff options
Diffstat (limited to 'editors')
-rw-r--r-- | editors/code/package.json | 48 |
1 files changed, 24 insertions, 24 deletions
diff --git a/editors/code/package.json b/editors/code/package.json index e15e7875b..b29f006f0 100644 --- a/editors/code/package.json +++ b/editors/code/package.json | |||
@@ -397,7 +397,7 @@ | |||
397 | "type": "boolean" | 397 | "type": "boolean" |
398 | }, | 398 | }, |
399 | "rust-analyzer.cargo.autoreload": { | 399 | "rust-analyzer.cargo.autoreload": { |
400 | "markdownDescription": "Automatically refresh project info via `cargo metadata` on `Cargo.toml` changes.", | 400 | "markdownDescription": "Automatically refresh project info via `cargo metadata` on\n`Cargo.toml` changes.", |
401 | "default": true, | 401 | "default": true, |
402 | "type": "boolean" | 402 | "type": "boolean" |
403 | }, | 403 | }, |
@@ -443,7 +443,7 @@ | |||
443 | "type": "boolean" | 443 | "type": "boolean" |
444 | }, | 444 | }, |
445 | "rust-analyzer.checkOnSave.allFeatures": { | 445 | "rust-analyzer.checkOnSave.allFeatures": { |
446 | "markdownDescription": "Check with all features (`--all-features`). Defaults to `#rust-analyzer.cargo.allFeatures#`.", | 446 | "markdownDescription": "Check with all features (`--all-features`).\nDefaults to `#rust-analyzer.cargo.allFeatures#`.", |
447 | "default": null, | 447 | "default": null, |
448 | "type": [ | 448 | "type": [ |
449 | "null", | 449 | "null", |
@@ -469,7 +469,7 @@ | |||
469 | ] | 469 | ] |
470 | }, | 470 | }, |
471 | "rust-analyzer.checkOnSave.target": { | 471 | "rust-analyzer.checkOnSave.target": { |
472 | "markdownDescription": "Check for a specific target. Defaults to `#rust-analyzer.cargo.target#`.", | 472 | "markdownDescription": "Check for a specific target. Defaults to\n`#rust-analyzer.cargo.target#`.", |
473 | "default": null, | 473 | "default": null, |
474 | "type": [ | 474 | "type": [ |
475 | "null", | 475 | "null", |
@@ -485,7 +485,7 @@ | |||
485 | } | 485 | } |
486 | }, | 486 | }, |
487 | "rust-analyzer.checkOnSave.features": { | 487 | "rust-analyzer.checkOnSave.features": { |
488 | "markdownDescription": "List of features to activate. Defaults to `#rust-analyzer.cargo.features#`.", | 488 | "markdownDescription": "List of features to activate. Defaults to\n`#rust-analyzer.cargo.features#`.", |
489 | "default": null, | 489 | "default": null, |
490 | "type": [ | 490 | "type": [ |
491 | "null", | 491 | "null", |
@@ -496,7 +496,7 @@ | |||
496 | } | 496 | } |
497 | }, | 497 | }, |
498 | "rust-analyzer.checkOnSave.overrideCommand": { | 498 | "rust-analyzer.checkOnSave.overrideCommand": { |
499 | "markdownDescription": "Advanced option, fully override the command rust-analyzer uses for checking. The command should include `--message-format=json` or similar option.", | 499 | "markdownDescription": "Advanced option, fully override the command rust-analyzer uses for\nchecking. The command should include `--message-format=json` or\nsimilar option.", |
500 | "default": null, | 500 | "default": null, |
501 | "type": [ | 501 | "type": [ |
502 | "null", | 502 | "null", |
@@ -522,7 +522,7 @@ | |||
522 | "type": "boolean" | 522 | "type": "boolean" |
523 | }, | 523 | }, |
524 | "rust-analyzer.completion.autoimport.enable": { | 524 | "rust-analyzer.completion.autoimport.enable": { |
525 | "markdownDescription": "Toggles the additional completions that automatically add imports when completed. Note that your client must specify the `additionalTextEdits` LSP client capability to truly have this feature enabled.", | 525 | "markdownDescription": "Toggles the additional completions that automatically add imports when completed.\nNote that your client must specify the `additionalTextEdits` LSP client capability to truly have this feature enabled.", |
526 | "default": true, | 526 | "default": true, |
527 | "type": "boolean" | 527 | "type": "boolean" |
528 | }, | 528 | }, |
@@ -532,7 +532,7 @@ | |||
532 | "type": "boolean" | 532 | "type": "boolean" |
533 | }, | 533 | }, |
534 | "rust-analyzer.diagnostics.enableExperimental": { | 534 | "rust-analyzer.diagnostics.enableExperimental": { |
535 | "markdownDescription": "Whether to show experimental rust-analyzer diagnostics that might have more false positives than usual.", | 535 | "markdownDescription": "Whether to show experimental rust-analyzer diagnostics that might\nhave more false positives than usual.", |
536 | "default": true, | 536 | "default": true, |
537 | "type": "boolean" | 537 | "type": "boolean" |
538 | }, | 538 | }, |
@@ -546,7 +546,7 @@ | |||
546 | "uniqueItems": true | 546 | "uniqueItems": true |
547 | }, | 547 | }, |
548 | "rust-analyzer.diagnostics.warningsAsHint": { | 548 | "rust-analyzer.diagnostics.warningsAsHint": { |
549 | "markdownDescription": "List of warnings that should be displayed with info severity.\\n\\nThe warnings will be indicated by a blue squiggly underline in code and a blue icon in the `Problems Panel`.", | 549 | "markdownDescription": "List of warnings that should be displayed with info severity.\n\nThe warnings will be indicated by a blue squiggly underline in code\nand a blue icon in the `Problems Panel`.", |
550 | "default": [], | 550 | "default": [], |
551 | "type": "array", | 551 | "type": "array", |
552 | "items": { | 552 | "items": { |
@@ -554,7 +554,7 @@ | |||
554 | } | 554 | } |
555 | }, | 555 | }, |
556 | "rust-analyzer.diagnostics.warningsAsInfo": { | 556 | "rust-analyzer.diagnostics.warningsAsInfo": { |
557 | "markdownDescription": "List of warnings that should be displayed with hint severity.\\n\\nThe warnings will be indicated by faded text or three dots in code and will not show up in the `Problems Panel`.", | 557 | "markdownDescription": "List of warnings that should be displayed with hint severity.\n\nThe warnings will be indicated by faded text or three dots in code\nand will not show up in the `Problems Panel`.", |
558 | "default": [], | 558 | "default": [], |
559 | "type": "array", | 559 | "type": "array", |
560 | "items": { | 560 | "items": { |
@@ -575,7 +575,7 @@ | |||
575 | } | 575 | } |
576 | }, | 576 | }, |
577 | "rust-analyzer.hoverActions.debug": { | 577 | "rust-analyzer.hoverActions.debug": { |
578 | "markdownDescription": "Whether to show `Debug` action. Only applies when `#rust-analyzer.hoverActions.enable#` is set.", | 578 | "markdownDescription": "Whether to show `Debug` action. Only applies when\n`#rust-analyzer.hoverActions.enable#` is set.", |
579 | "default": true, | 579 | "default": true, |
580 | "type": "boolean" | 580 | "type": "boolean" |
581 | }, | 581 | }, |
@@ -585,17 +585,17 @@ | |||
585 | "type": "boolean" | 585 | "type": "boolean" |
586 | }, | 586 | }, |
587 | "rust-analyzer.hoverActions.gotoTypeDef": { | 587 | "rust-analyzer.hoverActions.gotoTypeDef": { |
588 | "markdownDescription": "Whether to show `Go to Type Definition` action. Only applies when `#rust-analyzer.hoverActions.enable#` is set.", | 588 | "markdownDescription": "Whether to show `Go to Type Definition` action. Only applies when\n`#rust-analyzer.hoverActions.enable#` is set.", |
589 | "default": true, | 589 | "default": true, |
590 | "type": "boolean" | 590 | "type": "boolean" |
591 | }, | 591 | }, |
592 | "rust-analyzer.hoverActions.implementations": { | 592 | "rust-analyzer.hoverActions.implementations": { |
593 | "markdownDescription": "Whether to show `Implementations` action. Only applies when `#rust-analyzer.hoverActions.enable#` is set.", | 593 | "markdownDescription": "Whether to show `Implementations` action. Only applies when\n`#rust-analyzer.hoverActions.enable#` is set.", |
594 | "default": true, | 594 | "default": true, |
595 | "type": "boolean" | 595 | "type": "boolean" |
596 | }, | 596 | }, |
597 | "rust-analyzer.hoverActions.run": { | 597 | "rust-analyzer.hoverActions.run": { |
598 | "markdownDescription": "Whether to show `Run` action. Only applies when `#rust-analyzer.hoverActions.enable#` is set.", | 598 | "markdownDescription": "Whether to show `Run` action. Only applies when\n`#rust-analyzer.hoverActions.enable#` is set.", |
599 | "default": true, | 599 | "default": true, |
600 | "type": "boolean" | 600 | "type": "boolean" |
601 | }, | 601 | }, |
@@ -619,7 +619,7 @@ | |||
619 | "minimum": 0 | 619 | "minimum": 0 |
620 | }, | 620 | }, |
621 | "rust-analyzer.inlayHints.parameterHints": { | 621 | "rust-analyzer.inlayHints.parameterHints": { |
622 | "markdownDescription": "Whether to show function parameter name inlay hints at the call site.", | 622 | "markdownDescription": "Whether to show function parameter name inlay hints at the call\nsite.", |
623 | "default": true, | 623 | "default": true, |
624 | "type": "boolean" | 624 | "type": "boolean" |
625 | }, | 625 | }, |
@@ -629,7 +629,7 @@ | |||
629 | "type": "boolean" | 629 | "type": "boolean" |
630 | }, | 630 | }, |
631 | "rust-analyzer.lens.debug": { | 631 | "rust-analyzer.lens.debug": { |
632 | "markdownDescription": "Whether to show `Debug` lens. Only applies when `#rust-analyzer.lens.enable#` is set.", | 632 | "markdownDescription": "Whether to show `Debug` lens. Only applies when\n`#rust-analyzer.lens.enable#` is set.", |
633 | "default": true, | 633 | "default": true, |
634 | "type": "boolean" | 634 | "type": "boolean" |
635 | }, | 635 | }, |
@@ -639,27 +639,27 @@ | |||
639 | "type": "boolean" | 639 | "type": "boolean" |
640 | }, | 640 | }, |
641 | "rust-analyzer.lens.implementations": { | 641 | "rust-analyzer.lens.implementations": { |
642 | "markdownDescription": "Whether to show `Implementations` lens. Only applies when `#rust-analyzer.lens.enable#` is set.", | 642 | "markdownDescription": "Whether to show `Implementations` lens. Only applies when\n`#rust-analyzer.lens.enable#` is set.", |
643 | "default": true, | 643 | "default": true, |
644 | "type": "boolean" | 644 | "type": "boolean" |
645 | }, | 645 | }, |
646 | "rust-analyzer.lens.run": { | 646 | "rust-analyzer.lens.run": { |
647 | "markdownDescription": "Whether to show `Run` lens. Only applies when `#rust-analyzer.lens.enable#` is set.", | 647 | "markdownDescription": "Whether to show `Run` lens. Only applies when\n`#rust-analyzer.lens.enable#` is set.", |
648 | "default": true, | 648 | "default": true, |
649 | "type": "boolean" | 649 | "type": "boolean" |
650 | }, | 650 | }, |
651 | "rust-analyzer.lens.methodReferences": { | 651 | "rust-analyzer.lens.methodReferences": { |
652 | "markdownDescription": "Whether to show `Method References` lens. Only applies when `#rust-analyzer.lens.enable#` is set.", | 652 | "markdownDescription": "Whether to show `Method References` lens. Only applies when\n`#rust-analyzer.lens.enable#` is set.", |
653 | "default": false, | 653 | "default": false, |
654 | "type": "boolean" | 654 | "type": "boolean" |
655 | }, | 655 | }, |
656 | "rust-analyzer.lens.references": { | 656 | "rust-analyzer.lens.references": { |
657 | "markdownDescription": "Whether to show `References` lens. Only applies when `#rust-analyzer.lens.enable#` is set.", | 657 | "markdownDescription": "Whether to show `References` lens. Only applies when\n`#rust-analyzer.lens.enable#` is set.", |
658 | "default": false, | 658 | "default": false, |
659 | "type": "boolean" | 659 | "type": "boolean" |
660 | }, | 660 | }, |
661 | "rust-analyzer.linkedProjects": { | 661 | "rust-analyzer.linkedProjects": { |
662 | "markdownDescription": "Disable project auto-discovery in favor of explicitly specified set of projects.\\n\\nElements must be paths pointing to `Cargo.toml`, `rust-project.json`, or JSON objects in `rust-project.json` format.", | 662 | "markdownDescription": "Disable project auto-discovery in favor of explicitly specified set\nof projects.\n\nElements must be paths pointing to `Cargo.toml`,\n`rust-project.json`, or JSON objects in `rust-project.json` format.", |
663 | "default": [], | 663 | "default": [], |
664 | "type": "array", | 664 | "type": "array", |
665 | "items": { | 665 | "items": { |
@@ -689,7 +689,7 @@ | |||
689 | "type": "boolean" | 689 | "type": "boolean" |
690 | }, | 690 | }, |
691 | "rust-analyzer.procMacro.server": { | 691 | "rust-analyzer.procMacro.server": { |
692 | "markdownDescription": "Internal config, path to proc-macro server executable (typically, this is rust-analyzer itself, but we override this in tests).", | 692 | "markdownDescription": "Internal config, path to proc-macro server executable (typically,\nthis is rust-analyzer itself, but we override this in tests).", |
693 | "default": null, | 693 | "default": null, |
694 | "type": [ | 694 | "type": [ |
695 | "null", | 695 | "null", |
@@ -705,7 +705,7 @@ | |||
705 | ] | 705 | ] |
706 | }, | 706 | }, |
707 | "rust-analyzer.runnables.cargoExtraArgs": { | 707 | "rust-analyzer.runnables.cargoExtraArgs": { |
708 | "markdownDescription": "Additional arguments to be passed to cargo for runnables such as tests or binaries.\\nFor example, it may be `--release`.", | 708 | "markdownDescription": "Additional arguments to be passed to cargo for runnables such as\ntests or binaries. For example, it may be `--release`.", |
709 | "default": [], | 709 | "default": [], |
710 | "type": "array", | 710 | "type": "array", |
711 | "items": { | 711 | "items": { |
@@ -713,7 +713,7 @@ | |||
713 | } | 713 | } |
714 | }, | 714 | }, |
715 | "rust-analyzer.rustcSource": { | 715 | "rust-analyzer.rustcSource": { |
716 | "markdownDescription": "Path to the Cargo.toml of the rust compiler workspace, for usage in rustc_private projects, or \"discover\" to try to automatically find it. Any project which uses rust-analyzer with the rustcPrivate crates must set `[package.metadata.rust-analyzer] rustc_private=true` to use it. This option is not reloaded automatically; you must restart rust-analyzer for it to take effect.", | 716 | "markdownDescription": "Path to the Cargo.toml of the rust compiler workspace, for usage in rustc_private\nprojects, or \"discover\" to try to automatically find it.\n\nAny project which uses rust-analyzer with the rustcPrivate\ncrates must set `[package.metadata.rust-analyzer] rustc_private=true` to use it.\n\nThis option is not reloaded automatically; you must restart rust-analyzer for it to take effect.", |
717 | "default": null, | 717 | "default": null, |
718 | "type": [ | 718 | "type": [ |
719 | "null", | 719 | "null", |
@@ -729,7 +729,7 @@ | |||
729 | } | 729 | } |
730 | }, | 730 | }, |
731 | "rust-analyzer.rustfmt.overrideCommand": { | 731 | "rust-analyzer.rustfmt.overrideCommand": { |
732 | "markdownDescription": "Advanced option, fully override the command rust-analyzer uses for formatting.", | 732 | "markdownDescription": "Advanced option, fully override the command rust-analyzer uses for\nformatting.", |
733 | "default": null, | 733 | "default": null, |
734 | "type": [ | 734 | "type": [ |
735 | "null", | 735 | "null", |