# Add excerpts into outline panel \(\#13034\) · gitcafe/zed

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

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

Visibility: public

Requested revision: eb7a09b459859e3cfd7d1bbc094bd0436873bef7

Requested commit: eb7a09b459859e3cfd7d1bbc094bd0436873bef7

Commit: eb7a09b459859e3cfd7d1bbc094bd0436873bef7

Tree: 4b16f5109249609c7888635029b152ee98449cc7

Author: Kirill Bulatov

Committer: GitHub

## Message

```
Add excerpts into outline panel (#13034)

Follow-up of https://github.com/zed-industries/zed/pull/12637

Adds excerpt items into the outline panel: now all outline items are
initially hidden under excerpt items that could be toggled open/closed
similar to directories.


![Screenshot 2024-06-14 at 10 45
04](https://github.com/zed-industries/zed/assets/2690773/9c9ef91b-1666-43c3-acc4-96f850098a28)

On active editor's selection change, a corresponding outline will be
revealed still, expanding the corresponding excerpt

![Screenshot 2024-06-14 at 10 45
13](https://github.com/zed-industries/zed/assets/2690773/7dfd14f7-4aca-48f2-8760-8e1362b9a043)

Release Notes:

- N/A
```

## Parents

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

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