Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Custom Visual Studio skins per TFS branch

I'm interested in what methods people use to help visual identification of different branches of essentially the same solution. We are changing our processes for modifying our product so that we have several different branches of the same code. Its not immediately obvious which branch you are in unless you check the path of the solution. The ideal scenario would be for the name of the branch to be visible at the top of the visual studio statusbar, or if a different coloured skin could be used for each instance branch. i.e. branch A has a green menubar and branch B has a red menubar.

like image 598
Tim Avatar asked Dec 06 '25 06:12

Tim


1 Answers

What I do is to open the history of the branch I'm currently on. That way, I can see each VS instance's name in the tab in the bar ("History - Dev1").

EDIT:

Maybe I can explain myself better (my limited english difficults this :P).

If you open the History window of a branch (in the Source Control Explorer, right click the Branch and pick "View History"), a new tab is placed in the upper bar (I don't know how to call it; is the bar that holds the tabs for every file you have open at any time). That tab is called "History - Branchname". Well, if you leave the History Window opened, you can see the name of the current branch just by looking at the tab in the bar. That way, just open the right history window in each VS instance and you'll have a way for quickly know the branch of each instance ("History - Dev1", "History - Test", etc.).

like image 103
Racso Avatar answered Dec 08 '25 20:12

Racso



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!