rust/crates/rust-analyzer/src
bors[bot] bc0825d135
Merge #10802
10802: Allow clients to configure the global workspace search limit r=Veykril a=knutwalker

Playing around with [helix](https://helix-editor.com) I realized that the global worksapce symbol search works different compared to vs-code.
Helix requires all possible symbols in one query and does no subsequent refinement searched.
This PR adds a configuration option to override the default search limit with the default being the currently hardocded value.
Helix users can increment this limit for their instance with a config like

```toml
[[language]]
name = "rust"
language-server = { command = "rust-analyzer" }
[language.config]
workspace = { symbol = { search = { limit = 65536 }}}
```

Other editors are not affected by this change.


Co-authored-by: Paul Horn <dev@knutwalker.engineer>
2022-04-03 12:03:46 +00:00
..
bin feat: poke user when supplying faulty configurations 2022-01-06 14:24:19 +01:00
cli Preserve order when grouping references. 2022-03-22 12:38:59 -07:00
diagnostics Add test against line number underflow 2022-03-31 23:37:23 +02:00
caps.rs minor: Bump dependencies 2022-03-22 17:42:24 +01:00
cargo_target_spec.rs Pass required features to cargo when using run action 2022-02-06 19:02:25 +03:00
cli.rs Begining of lsif 2021-09-26 10:04:02 +03:30
config.rs Merge #10802 2022-04-03 12:03:46 +00:00
diagnostics.rs Handle multiple cargo check quick fix spans 2021-12-04 21:41:56 -08:00
diff.rs Split textDocument/formatting TextEdit with diff 2020-12-31 15:33:20 +01:00
dispatch.rs fix clippy::needless_borrow 2022-03-12 16:50:49 +01:00
from_proto.rs fix: don't panic on seeing an unexpected offset 2022-01-03 14:49:47 +00:00
global_state.rs correct the description of Struct GlobalState 2022-02-14 19:30:21 +08:00
handlers.rs Merge #10802 2022-04-03 12:03:46 +00:00
integrated_benchmarks.rs internal: Re-arrange ide_db modules 2022-03-06 19:04:04 +01:00
lib.rs internal: optimize compile time 2021-08-15 13:24:37 +03:00
line_index.rs use utf16 instead of utf8 2021-09-26 10:04:02 +03:30
lsp_ext.rs Add "view file text" command to debug sync issues 2022-03-31 14:50:33 +02:00
lsp_utils.rs fix: don't panic on seeing an unexpected offset 2022-01-03 14:49:47 +00:00
main_loop.rs Add "view file text" command to debug sync issues 2022-03-31 14:50:33 +02:00
markdown.rs Code blocks with tilde also works like code block 2022-04-01 20:29:32 +09:00
mem_docs.rs fix: correctly update diagnostics when files are opened and closed 2021-07-26 21:22:06 +03:00
op_queue.rs internal: simplify handling of the build scripts 2021-07-18 11:29:22 +03:00
reload.rs Regenrate docs and package.json 2022-01-06 13:50:24 +01:00
semantic_tokens.rs Fix highlighting of Self 2022-03-05 23:34:37 +01:00
thread_pool.rs Improve prime_caches and display its progress 2020-10-12 13:35:01 +02:00
to_proto.rs suggest infered type in auto complete 2022-04-03 11:17:33 +04:30