# tab_switcher: Add support for diagnostics \(\#34547\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 99cee8778cc7c6ee9ddd405f5f00caa713299d68

Requested commit: 99cee8778cc7c6ee9ddd405f5f00caa713299d68

Commit: 99cee8778cc7c6ee9ddd405f5f00caa713299d68

Tree: 553607f707dd69d792a864bb8207dde55846435b

Author: Alvaro Parker

Committer: GitHub

## Message

```
tab_switcher: Add support for diagnostics (#34547)

Support to show diagnostics on the tab switcher in the same way they are
displayed on the tab bar. This follows the setting
`tabs.show_diagnostics`.

This will improve user experience when disabling the tab bar and still
being able to see the diagnostics when switching tabs

Preview:

<img width="768" height="523" alt="Screenshot From 2025-07-16 11-02-42"
src="https://github.com/user-attachments/assets/308873ba-0458-485d-ae05-0de7c1cdfb28"
/>


Release Notes:

- Added diagnostics indicators to the tab switcher

---------

Co-authored-by: Kirill Bulatov <kirill@zed.dev>
```

## Parents

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

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