# Make tab switcher show preview of selected tab \(\#36718\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 06c0e593790d7fae184c31b02423a9d3bb0ccfee

Requested commit: 06c0e593790d7fae184c31b02423a9d3bb0ccfee

Commit: 06c0e593790d7fae184c31b02423a9d3bb0ccfee

Tree: a1f2cf86a10c98f8593a611fffb3f9196eceb7e3

Author: David Kleingeld

Committer: GitHub

## Message

```
Make tab switcher show preview of selected tab (#36718)

Similar to nvim's telescope this makes it easier to find the right tab
in the list.

The preview takes place in the pane where the tab resides.
- on dismiss: We restore all panes.
- on confirm: We restore all panes except the one where the selected tab
resides. For this reason we collect the active item for each pane before
the tabswither starts.

Release Notes:

- Improved tab switcher, it now shows a preview of the selected tab

Co-authored-by: Julia Ryan <juliaryan3.14@gmail.com>
```

## Parents

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

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