rust/crates/rust-analyzer/src
alcroito 1f7d2a6c22 Add new LSP extension for workspace symbol lookup
The new extension allows filtering of workspace symbool lookup
results by search scope or search kind.

Filtering can be configured in 3 different ways:

 - The '#' or '*' markers can be added inline with the symbol lookup
   query.

   The '#' marker means symbols should be looked up in the current
   workspace and any dependencies. If not specified, only current
   workspace is considered.

   The '*' marker means all kinds of symbols should be looked up
   (types, functions, etc). If not specified, only type symbols are
   returned.

 - Each LSP request can take an optional search_scope or search_kind
   argument query parameter.

 - Finally there are 2 global config options that can be set for all
   requests served by the active RA instance.

Add support for setting the global config options to the VSCode
extension.
The extension does not use the per-request way, but it's useful for
other IDEs.

The latest version of VSCode filters out the inline markers, so
currently the only reasonable way to use the new functionality is
via the global config.
2021-05-18 00:40:30 +02:00
..
bin feat: avoid checking the whole project during initial loading 2021-04-12 15:29:31 +03:00
cli Add a way to resolve certain assists 2021-05-03 17:14:49 +03:00
diagnostics Code review feedback. 2021-04-21 15:10:53 -07:00
caps.rs Autoclose blocks when typing { 2021-04-07 16:38:04 +02:00
cargo_target_spec.rs Fix build script dependencies 2021-05-12 14:48:26 +02:00
cli.rs internal: switch from CLI to internal benchmarking 2021-03-30 12:47:23 +03:00
config.rs Add new LSP extension for workspace symbol lookup 2021-05-18 00:40:30 +02:00
diagnostics.rs Code review feedback. 2021-04-21 15:10:53 -07:00
diff.rs Split textDocument/formatting TextEdit with diff 2020-12-31 15:33:20 +01:00
dispatch.rs internal: add rust-analyzer version to panic context 2021-05-08 14:14:06 +03:00
document.rs Latest LSP 3.16 protocol 2020-11-16 15:10:13 -05:00
from_proto.rs internal: unfork code paths for unresolved and resolved assist 2021-04-13 10:59:15 +03:00
global_state.rs Ensure that only one cache priming task can run at a time 2021-04-30 16:48:11 +02:00
handlers.rs Add new LSP extension for workspace symbol lookup 2021-05-18 00:40:30 +02:00
integrated_benchmarks.rs minor: more useful bench 2021-05-14 20:23:29 +03:00
lib.rs internal: add integrated completion benchmark 2021-05-04 15:14:33 +03:00
line_index.rs Fix bitrotted module name 2021-02-16 19:17:32 +03:00
lsp_ext.rs Add new LSP extension for workspace symbol lookup 2021-05-18 00:40:30 +02:00
lsp_utils.rs Use CompletionTextEdit::InsertAndReplace if supported by the client 2021-04-08 15:21:27 +02:00
main_loop.rs Add new LSP extension for workspace symbol lookup 2021-05-18 00:40:30 +02:00
markdown.rs Check for rust doc code attributes like rustdoc does 2021-04-19 13:32:52 +02:00
op_queue.rs More robust status notifications 2021-04-06 15:45:31 +03:00
reload.rs Add profiling spans under cargo_to_crate_graph 2021-04-22 21:25:29 +03:00
request_metrics.rs Flatten module hierarchy 2020-06-24 18:57:30 +02:00
semantic_tokens.rs minor: adjust config name 2021-05-17 18:37:06 +03:00
thread_pool.rs Improve prime_caches and display its progress 2020-10-12 13:35:01 +02:00
to_proto.rs minor: adjust config name 2021-05-17 18:37:06 +03:00