ZIm/crates/proto
Kirill Bulatov 91c209900b
Support word-based completions (#26410)
Closes https://github.com/zed-industries/zed/issues/4957


https://github.com/user-attachments/assets/ff491378-376d-48ec-b552-6cc80f74200b

Adds `"completions"` language settings section, to configure LSP and
word completions per language.
Word-based completions may be turned on never, always (returned along
with the LSP ones), and as a fallback if no LSP completion items were
returned.

Future work:

* words are matched with the same fuzzy matching code that the rest of
the completions are

This might worsen the completion menu's usability even more, and will
require work on better completion sorting.

* completion entries currently have no icons or other ways to indicate
those are coming from LSP or from word search, or from something else

* we may work with language scopes more intelligently, group words by
them and distinguish during completions

Release Notes:

- Supported word-based completions

---------

Co-authored-by: Max Brunsfeld <max@zed.dev>
2025-03-12 21:27:10 +02:00
..
proto Support word-based completions (#26410) 2025-03-12 21:27:10 +02:00
src Add git init button (#26522) 2025-03-12 07:25:19 +00:00
build.rs Allow rpc_url to be assigned on Client with test-support feature (#13430) 2024-07-10 13:36:22 -06:00
Cargo.toml Chunk git status entries (#25627) 2025-02-26 12:38:16 -07:00
LICENSE-GPL Add missing LICENSE file to proto crate (#12863) 2024-06-10 15:35:37 -04:00