ZIm/crates/remote_server
Kirill Bulatov 566c5f91a7
Refine word completions (#26779)
Follow-up of https://github.com/zed-industries/zed/pull/26410

* Extract word completions into their own, `editor::ShowWordCompletions`
action so those could be triggered independently of completions
* Assign `ctrl-shift-space` binding to this new action
* Still keep words returned along the completions as in the original PR,
but:
* Tone down regular completions' fallback logic, skip words when the
language server responds with empty list of completions, but keep on
adding words if nothing or an error were returned instead
    * Adjust the defaults to wait for LSP completions infinitely
* Skip "words" with digits such as `0_usize` or `2.f32` from completion
items, unless a completion query has digits in it

Release Notes:

- N/A
2025-03-14 15:18:55 +00:00
..
src Refine word completions (#26779) 2025-03-14 15:18:55 +00:00
build.rs Add build SHA to panic reports and zed --version (on nightly/dev) (#24258) 2025-02-06 02:09:24 -07:00
Cargo.toml Fix replication of head text when head matches index (#24306) 2025-02-05 20:37:32 +00:00
LICENSE-GPL Add the ability to edit remote directories over SSH (#14530) 2024-07-19 10:27:26 -07:00