# Add collapse functionality to outline entries \(\#33490\) · gitcafe/zed

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

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

Visibility: public

Requested revision: be0d9eecb72678fb25eed2abc7e781f0d9e0bb2d

Requested commit: be0d9eecb72678fb25eed2abc7e781f0d9e0bb2d

Commit: be0d9eecb72678fb25eed2abc7e781f0d9e0bb2d

Tree: 8fc6ea0c6e927fac2fe1b9c0ddc58f3c116653df

Author: Nicolas Rodriguez

Committer: GitHub

## Message

```
Add collapse functionality to outline entries (#33490)

partly Closes #23075 

Release Notes:

- Now provides collapse and enables functionality to outline entries
- Add a new expand_outlines_with_depth setting to customize how deep the
tree is expanded by when a file is opened

part 2 is in #34164 

**Visual examples**

![image](https://github.com/user-attachments/assets/5dcdb83b-6e3e-4bfd-8ef4-76ae2ce4d3e6)

![image](https://github.com/user-attachments/assets/7b786a5a-1a8c-4f34-aaa5-4a8d0afa9668)

![image](https://github.com/user-attachments/assets/1817be06-ac71-4480-8f17-0bd862e913c8)
```

## Parents

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

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