Improve Visibility for Worktrees in the IDE

Feature request for product/service

Cursor IDE

Describe the request

Having multiple windows of the IDE open to the same codebase but different worktrees makes it difficult to tell at a glance which one I’m in. I would like to have some sort of quick color, etc. indicator that the window is a worktree.

Hey Reid, thanks for writing this up. You’re right that there isn’t a built-in color or badge today that marks a window as a worktree, so several windows on the same repo can look identical at a glance.

Two workarounds that help in the meantime:

  1. Put the branch in the window title. In VS Code Settings in Cursor, search for window.title and set it to something like:

"${activeRepositoryBranchName}${separator}${rootName}${separator}${activeEditorShort}"

The status bar also shows the current branch, which is useful if you keep that visible.

  1. Give each worktree window a different title-bar color via Workspace Settings (workbench.colorCustomizations), for example titleBar.activeBackground. Keep that as a local workspace setting so it stays on that checkout. Some people also use the Peacock extension for the same idea.

It’s a little clunky, but this is a good start before we build a feature like the one that you’re describing.