diff options
Diffstat (limited to 'editors/code/package.json')
-rw-r--r-- | editors/code/package.json | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/editors/code/package.json b/editors/code/package.json index 17d9281ff..42a06e137 100644 --- a/editors/code/package.json +++ b/editors/code/package.json | |||
@@ -572,6 +572,11 @@ | |||
572 | "default": true, | 572 | "default": true, |
573 | "type": "boolean" | 573 | "type": "boolean" |
574 | }, | 574 | }, |
575 | "rust-analyzer.completion.autoself.enable": { | ||
576 | "markdownDescription": "Toggles the additional completions that automatically show method calls and field accesses\nwith `self` prefixed to them when inside a method.", | ||
577 | "default": true, | ||
578 | "type": "boolean" | ||
579 | }, | ||
575 | "rust-analyzer.diagnostics.enable": { | 580 | "rust-analyzer.diagnostics.enable": { |
576 | "markdownDescription": "Whether to show native rust-analyzer diagnostics.", | 581 | "markdownDescription": "Whether to show native rust-analyzer diagnostics.", |
577 | "default": true, | 582 | "default": true, |
@@ -597,7 +602,7 @@ | |||
597 | "type": "object" | 602 | "type": "object" |
598 | }, | 603 | }, |
599 | "rust-analyzer.diagnostics.warningsAsHint": { | 604 | "rust-analyzer.diagnostics.warningsAsHint": { |
600 | "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`.", | 605 | "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`.", |
601 | "default": [], | 606 | "default": [], |
602 | "type": "array", | 607 | "type": "array", |
603 | "items": { | 608 | "items": { |
@@ -605,7 +610,7 @@ | |||
605 | } | 610 | } |
606 | }, | 611 | }, |
607 | "rust-analyzer.diagnostics.warningsAsInfo": { | 612 | "rust-analyzer.diagnostics.warningsAsInfo": { |
608 | "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`.", | 613 | "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`.", |
609 | "default": [], | 614 | "default": [], |
610 | "type": "array", | 615 | "type": "array", |
611 | "items": { | 616 | "items": { |
@@ -795,6 +800,11 @@ | |||
795 | "type": "string" | 800 | "type": "string" |
796 | } | 801 | } |
797 | }, | 802 | }, |
803 | "rust-analyzer.rustfmt.enableRangeFormatting": { | ||
804 | "markdownDescription": "Enables the use of rustfmt's unstable range formatting command for the\n`textDocument/rangeFormatting` request. The rustfmt option is unstable and only\navailable on a nightly build.", | ||
805 | "default": false, | ||
806 | "type": "boolean" | ||
807 | }, | ||
798 | "rust-analyzer.workspace.symbol.search.scope": { | 808 | "rust-analyzer.workspace.symbol.search.scope": { |
799 | "markdownDescription": "Workspace symbol search scope.", | 809 | "markdownDescription": "Workspace symbol search scope.", |
800 | "default": "workspace", | 810 | "default": "workspace", |