zed/crates/context_servers
David Soria Parra 5bae6eb493
context_servers: Completion support for context server slash commands (#17085)
This PR adds support for completions via MCP. The protocol now supports
a new request type "completion/complete"
that can either complete a resource URI template (which we currently
don't use in Zed), or a prompt argument.
We use this to add autocompletion to our context server slash commands!


https://github.com/user-attachments/assets/08c9cf04-cbeb-49a7-903f-5049fb3b3d9f



Release Notes:

- context_servers: Added support for argument completions for context
server prompts. These show up as regular completions to slash commands.
2024-08-29 16:56:58 -04:00
..
src context_servers: Completion support for context server slash commands (#17085) 2024-08-29 16:56:58 -04:00
Cargo.toml context_servers: Add initial implementation (#16103) 2024-08-15 10:49:30 -04:00
LICENSE-GPL context_servers: Add initial implementation (#16103) 2024-08-15 10:49:30 -04:00