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 /crates/ide_db/src | |
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 'crates/ide_db/src')
-rw-r--r-- | crates/ide_db/src/symbol_index.rs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/crates/ide_db/src/symbol_index.rs b/crates/ide_db/src/symbol_index.rs index da427d686..0f5c4abc4 100644 --- a/crates/ide_db/src/symbol_index.rs +++ b/crates/ide_db/src/symbol_index.rs | |||
@@ -161,6 +161,11 @@ impl<DB: ParallelDatabase> Clone for Snap<salsa::Snapshot<DB>> { | |||
161 | // That is, `#` switches from "types" to all symbols, `*` switches from the current | 161 | // That is, `#` switches from "types" to all symbols, `*` switches from the current |
162 | // workspace to dependencies. | 162 | // workspace to dependencies. |
163 | // | 163 | // |
164 | // Note that filtering does not currently work in VSCode due to the editor never | ||
165 | // sending the special symbols to the language server. Instead, you can configure | ||
166 | // the filtering via the `rust-analyzer.workspace.symbol.search.scope` and | ||
167 | // `rust-analyzer.workspace.symbol.search.kind` settings. | ||
168 | // | ||
164 | // |=== | 169 | // |=== |
165 | // | Editor | Shortcut | 170 | // | Editor | Shortcut |
166 | // | 171 | // |