From 0a4b1ac696aef74d3fb32ac4f2e03269d0ebd34d Mon Sep 17 00:00:00 2001 From: Danilo Leal <67129314+danilo-leal@users.noreply.github.com> Date: Tue, 4 Nov 2025 21:18:49 -0300 Subject: [PATCH] inline assistant: Mention ability to add context with @ in the placeholder (#41950) This has been possible in the inline assistant for ages now and maybe you didn't know because we didn't say anything about it! This PR fixes that by including that you can @-mention context on it the same you can in the agent panel. Release Notes: - N/A --- crates/agent_ui/src/inline_prompt_editor.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/agent_ui/src/inline_prompt_editor.rs b/crates/agent_ui/src/inline_prompt_editor.rs index 89bfd50e37..ed2a8d327d 100644 --- a/crates/agent_ui/src/inline_prompt_editor.rs +++ b/crates/agent_ui/src/inline_prompt_editor.rs @@ -260,10 +260,10 @@ impl PromptEditor { let agent_panel_keybinding = ui::text_for_action(&zed_actions::assistant::ToggleFocus, window, cx) - .map(|keybinding| format!("{keybinding} to chat ― ")) + .map(|keybinding| format!("{keybinding} to chat")) .unwrap_or_default(); - format!("{action}… ({agent_panel_keybinding}↓↑ for history)") + format!("{action}… ({agent_panel_keybinding} ― ↓↑ for history — @ to include context)") } pub fn prompt(&self, cx: &App) -> String {