diff options
Diffstat (limited to 'editors/code')
-rw-r--r-- | editors/code/package.json | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/editors/code/package.json b/editors/code/package.json index 0f38a1673..99223c4e8 100644 --- a/editors/code/package.json +++ b/editors/code/package.json | |||
@@ -613,6 +613,11 @@ | |||
613 | "type": "string" | 613 | "type": "string" |
614 | } | 614 | } |
615 | }, | 615 | }, |
616 | "rust-analyzer.highlighting.strings": { | ||
617 | "markdownDescription": "Use semantic tokens for strings.\n\nIn some editors (e.g. vscode) semantic tokens override other highlighting grammars.\nBy disabling semantic tokens for strings, other grammars can be used to highlight\ntheir contents.", | ||
618 | "default": true, | ||
619 | "type": "boolean" | ||
620 | }, | ||
616 | "rust-analyzer.hoverActions.debug": { | 621 | "rust-analyzer.hoverActions.debug": { |
617 | "markdownDescription": "Whether to show `Debug` action. Only applies when\n`#rust-analyzer.hoverActions.enable#` is set.", | 622 | "markdownDescription": "Whether to show `Debug` action. Only applies when\n`#rust-analyzer.hoverActions.enable#` is set.", |
618 | "default": true, | 623 | "default": true, |
@@ -778,6 +783,32 @@ | |||
778 | "type": "string" | 783 | "type": "string" |
779 | } | 784 | } |
780 | }, | 785 | }, |
786 | "rust-analyzer.workspace.symbol.search.scope": { | ||
787 | "markdownDescription": "Workspace symbol search scope.", | ||
788 | "default": "workspace", | ||
789 | "type": "string", | ||
790 | "enum": [ | ||
791 | "workspace", | ||
792 | "workspace_and_dependencies" | ||
793 | ], | ||
794 | "enumDescriptions": [ | ||
795 | "Search in current workspace only", | ||
796 | "Search in current workspace and dependencies" | ||
797 | ] | ||
798 | }, | ||
799 | "rust-analyzer.workspace.symbol.search.kind": { | ||
800 | "markdownDescription": "Workspace symbol search kind.", | ||
801 | "default": "only_types", | ||
802 | "type": "string", | ||
803 | "enum": [ | ||
804 | "only_types", | ||
805 | "all_symbols" | ||
806 | ], | ||
807 | "enumDescriptions": [ | ||
808 | "Search for types only", | ||
809 | "Search for all symbols kinds" | ||
810 | ] | ||
811 | }, | ||
781 | "$generated-end": false | 812 | "$generated-end": false |
782 | } | 813 | } |
783 | }, | 814 | }, |