Skip to content

Conversation

@danilo-leal
Copy link
Member

Closes #37087

This PR adds an icon button to the footer of the message editor enabling to trigger and interact with the @-mention completions menu with the mouse. This is a first step towards making other types of context you can add in Zed's agent panel more discoverable. Next, I want to improve the discoverability of images and selections, given that you wouldn't necessarily know they work in Zed without a clear way to see them. But I think that for now, this is enough to close the issue above, which had lots of productive comments and discussion!

Screenshot 2025-11-11 at 10  46 3@2x

Release Notes:

  • agent: Added an icon button in the agent panel that allows to trigger the @-mention menu (for adding context) now also with the mouse.
@cla-bot cla-bot bot added the cla-signed The user has signed the Contributor License Agreement label Nov 11, 2025
@danilo-leal danilo-leal merged commit 993919d into main Nov 11, 2025
24 checks passed
@danilo-leal danilo-leal deleted the ag-mouse-based-@-trigger branch November 11, 2025 15:50
@binaryseed
Copy link

I'm finding that this doesn't play well with vim NORMAL mode, it just inserts @ but doesn't actually open the file selector menu

11happy pushed a commit to 11happy/zed that referenced this pull request Dec 1, 2025
…ed-industries#42449)

Closes zed-industries#37087

This PR adds an icon button to the footer of the message editor enabling
to trigger and interact with the @-mention completions menu with the
mouse. This is a first step towards making other types of context you
can add in Zed's agent panel more discoverable. Next, I want to improve
the discoverability of images and selections, given that you wouldn't
necessarily know they work in Zed without a clear way to see them. But I
think that for now, this is enough to close the issue above, which had
lots of productive comments and discussion!

<img width="500" height="540" alt="Screenshot 2025-11-11 at 10  46 3@2x"
src="https://github.com/user-attachments/assets/fd028442-6f77-4153-bea1-c0b815da4ac6"
/>

Release Notes:

- agent: Added an icon button in the agent panel that allows to trigger
the @-mention menu (for adding context) now also with the mouse.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla-signed The user has signed the Contributor License Agreement

3 participants