# agent_ui: Trigger @\-mention menu after opening brackets \(\#55504\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 85f410004cf583d886dd37f4ffdb7606950678b1

Requested commit: 85f410004cf583d886dd37f4ffdb7606950678b1

Commit: 85f410004cf583d886dd37f4ffdb7606950678b1

Tree: 5f5645e57a2f9e84d0f7778b95bd1c364dd408ca

Author: Kunall Banerjee

Committer: GitHub

## Message

```
agent_ui: Trigger @-mention menu after opening brackets (#55504)

Typing `@` immediately after `(`, `[`, or `{` did not open the Agent
Panel’s @-mention completion menu, so `(@file)`, `[@file]`, and
`{@file}` were unusable. This has been bothering me for quite some time
now. Overall, I believe this is a QoL improvement, albeit a small one.

Self-Review Checklist:

- [x] I've reviewed my own diff for quality, security, and reliability
- [ ] Unsafe blocks (if any) have justifying comments
- [ ] The content is consistent with the [UI/UX
checklist](https://github.com/zed-industries/zed/blob/main/CONTRIBUTING.md#uiux-checklist)
- [x] Tests cover the new/changed behavior
- [ ] Performance impact has been considered and is acceptable

Release Notes:

- Fixed the Agent Panel’s @-mention menu not appearing when `@`
immediately follows `(`, `[`, or `{`.

---------

Co-authored-by: Bennet Bo Fenner <bennetbo@gmx.de>
```

## Parents

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

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