microsoft / vscode

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

Separate git.decorations for badges and colors #229780

Open Harciropi opened 3 days ago

Harciropi commented 3 days ago

I work in a unique framework, of which I compile several repos into a workspace. It often happens that different files have the same name under a different directory/repo. I often have to work in several folders and files at the same time, so it is a big help to be able to assign colors to the directories and their contents.

The problem is that when I modify the file, git.decorations overwrites the file titles with its own colors in the tabs and in the explorer.

Without git decorations: without_git_decorations

With git decorations: with_git_decorations

The solution could be if, similarly to

"explorer.decorations.badges": true,
"explorer.decorations.colors": true,
"workbench.editor.decorations.badges": true,
"workbench.editor.decorations.colors": true

commands, git.decorations would also be split:

"git.decorations.explorer.badges": true,
"git.decorations.explorer.colors": true,
"git.decorations.editorTabs.badges": true,
"git.decorations.editorTabs.colors": false

It would be best if it could be separated into explorer and editor tabs, but if it could only be managed together, that would also be great for me.

"git.decorations.badges": true,
"git.decorations.colors": false

Of course, if it can be solved so that the already colored files are not overwritten, that also sounds good. I know that this is not the most important feature for the future, but it could help me a lot. :)

Thank You for your time, and hard work, András

vs-code-engineering[bot] commented 2 days ago

This feature request is now a candidate for our backlog. The community has 60 days to upvote the issue. If it receives 20 upvotes we will move it to our backlog. If not, we will close it. To learn more about how we handle feature requests, please see our documentation.

Happy Coding!

Harciropi commented 2 days ago

Thank you for the opportunity, I hope for the best. :)

andmikola commented 20 hours ago

Yes, yes. Sometimes we are fighting exactly the same problem.