You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[FEATURE]: Show worktree branch in vertical tab subtitles #50228
I have verified this feature I'm about to request hasn't been suggested before.
Describe the enhancement you want to request
When Experimental → Show project name is enabled, vertical session tabs show the project name but do not distinguish sessions opened in different worktrees of that project.
Match the existing terminal UI behavior from sessionTabDetail by showing the current branch for linked worktrees:
Main checkout: Engineering
Linked worktree: Engineering ⎇ happy-river
The branch suffix should appear only when the session is in a linked worktree and its current branch differs from the default branch. If branch information is unavailable, keep showing only the project name.
This should reuse the existing experimental project-name setting. It should not affect horizontal tabs or users who have not enabled that setting.
To restate it: when vertical tabs show a project name, sessions in a linked worktree would also show their branch (e.g. Engineering ⎇ happy-river), the same way the terminal UI's sessionTabDetail does. This would only appear for opted-in users and wouldn't change horizontal tabs.
One thing to know: the experimental "Show project names" setting this builds on was removed from the app shortly after you opened this issue, in #49373. Right now the project name only appears in the tab preview popover. So this would probably mean bringing back a project/branch subtitle for vertical tabs instead of extending the old setting. Maintainers will consider it.
Activity
opencodejr commentedon Oct 28, 2026
Thanks for the suggestion, @PatrickRogg!
To restate it: when vertical tabs show a project name, sessions in a linked worktree would also show their branch (e.g.
Engineering ⎇ happy-river), the same way the terminal UI'ssessionTabDetaildoes. This would only appear for opted-in users and wouldn't change horizontal tabs.One thing to know: the experimental "Show project names" setting this builds on was removed from the app shortly after you opened this issue, in #49373. Right now the project name only appears in the tab preview popover. So this would probably mean bringing back a project/branch subtitle for vertical tabs instead of extending the old setting. Maintainers will consider it.
Related issues:
tabs.labeloption for the terminal UI that adds project context, includingname⎇ branchfor worktree sessions, to tab labels