microsoft / vscode

Visual Studio Code
https://code.visualstudio.com
MIT License
163.3k stars 28.9k forks source link

Shorten branch name in Source Control view to always have the changes indicator visible when using multi root workspace #207551

Open benzman81 opened 7 months ago

benzman81 commented 7 months ago

Hi, i could not find any request like this. We are using multi root workspaces and quite long branch names. The issue is, that the changes indicator next to the branch name in source control view is not visible for long branch names until you resize the source control view and make it wide enough. This is pretty enoying. As a feature, I would like to have the branch names shortened using an ellipsis just like the projekt names. The full branch name remains visible in the tooltip. The goal is to always be able to see the changes indicator no matter how many chars the branch or project name is.

nistre commented 3 months ago

Just a thought, would it also work to move the indicator to the left? This is something I've thought about too with dealing with a similar scenario so thank you for suggesting the feature.