# editor: Make \`editor: expand excerpts\` actually expand all excerpts \(\#54717\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 892b4ada957073b044152b92dd8f3daca4247e0d

Requested commit: 892b4ada957073b044152b92dd8f3daca4247e0d

Commit: 892b4ada957073b044152b92dd8f3daca4247e0d

Tree: b89a25e5e5144cf11e1ebdff3ed1e3e92bdacee1

Author: Finn Eitreim

Committer: GitHub

## Message

```
editor: Make `editor: expand excerpts` actually expand all excerpts (#54717)

Expand all excerpts had a doc comment describing it as expanding all
excerpts, but in practice it only expanded the excerpt that was the most
relevant.

I fixed that to make it expand all excerpts. 

video:


https://github.com/user-attachments/assets/9858ebda-199c-4f72-8a2f-3cd606b0eff4

Self-Review Checklist:

- [x] I've reviewed my own diff for quality, security, and reliability
- [x] Unsafe blocks (if any) have justifying comments
- [x] 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
- [x] Performance impact has been considered and is acceptable

Closes #54651 

Release Notes:

- editor: `expand excerpts` now has correct documentation explaining its
function.
```

## Parents

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

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