# agent_ui: Add icon button to trigger the @\-mention completions menu \(\#42449\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/993919d360da1af40af7578b0d099cf52a512f19)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: 993919d360da1af40af7578b0d099cf52a512f19

Requested commit: 993919d360da1af40af7578b0d099cf52a512f19

Commit: 993919d360da1af40af7578b0d099cf52a512f19

Tree: ca791b28949f0228c90515eee0de0990b739d827

Author: Danilo Leal

Committer: GitHub

## Message

```
agent_ui: Add icon button to trigger the @-mention completions menu (#42449)

Closes https://github.com/zed-industries/zed/issues/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.
```

## Parents

- [8467a3dbd6aa3af529de021226d9196f2dc621d6](https://git.cafe/gitcafe/zed/commit/8467a3dbd6aa3af529de021226d9196f2dc621d6?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/993919d360da1af40af7578b0d099cf52a512f19?format=markdown)
