# workspace: Unpreview active tab when closing other tabs \(\#46294\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 28e7ee4437728555d288cb8c3955004987d41aac

Requested commit: 28e7ee4437728555d288cb8c3955004987d41aac

Commit: 28e7ee4437728555d288cb8c3955004987d41aac

Tree: 94a79f39c280003e92250ba05e8ee50a4ae0bd89

Author: Alex Miller

Committer: GitHub

## Message

```
workspace: Unpreview active tab when closing other tabs (#46294)

Un-preview the active tab when closing other tabs. 

In my mind the intent when clicking `Close Others` is to keep the
current tab around, so it should no longer be treated as a preview.
This also matches the VSCode behavior.


Release Notes:

- Make preview tab permanent after closing all other tabs
```

## Parents

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

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