diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2021-05-18 20:20:51 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2021-05-18 20:20:51 +0100 |
commit | 49a5d6a8d4a5da296ead4c44ac43090b9b0e8034 (patch) | |
tree | ca54a00fe5e9a447ab100ad36905004f0629f655 /editors/code | |
parent | 16b03d21dcbac48133fa9be1051c78211e83bbe8 (diff) | |
parent | 1f7d2a6c2297de4dedfb42b739e880ad2dd7d5d5 (diff) |
Merge #7698
7698: Add new LSP extension for workspace symbol lookup r=matklad a=alcroito
As well as all symbol types (functions, modules).
Remove outdated documentation regarding symbol lookup filtering.
Closes #4881
Co-authored-by: alcroito <[email protected]>
Diffstat (limited to 'editors/code')
-rw-r--r-- | editors/code/package.json | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/editors/code/package.json b/editors/code/package.json index 2e67b6775..99223c4e8 100644 --- a/editors/code/package.json +++ b/editors/code/package.json | |||
@@ -783,6 +783,32 @@ | |||
783 | "type": "string" | 783 | "type": "string" |
784 | } | 784 | } |
785 | }, | 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 | }, | ||
786 | "$generated-end": false | 812 | "$generated-end": false |
787 | } | 813 | } |
788 | }, | 814 | }, |