We are moving to a process where multiple developers will be working on solutions in a couple of different TFS branches. Already there has been confusion where people open solutions from a branch different to what they intend. The MRU list in VS 2010 only shows the solution name, not branch name. It's also not clear once the solution is open unless people check Properties or mouse over the current tab.
Is there a VS option or extension where the current TFS branch is prominently shown in some way? Or even a solution based on what folders the solution has been opened from on the file system?
Use the following procedure to create branches in TFS from Visual Studio. Connect to your Team Foundation Server (if you're not already) and open the team project you're working on. Go to the Source Control Explorer. Once the Source Control Explorer is loaded you will see a list of all the team projects that hopefully includes yours.
The Git Source Control Provider displays the branch name in the Pending Changes tool window. The VSCommands extension adds the branch name to the Visual Studio 2013 title. Thanks for contributing an answer to Stack Overflow! Please be sure to answer the question.
Branching: Branching is an important and powerful technique for creating a parallel set of versions of your files. Figure 1 shows a branch structure in a hierarchical view. Use the following procedure to create branches in TFS from Visual Studio.
Install the Rename Visual Studio Window extension. Go to Tools → Options → Rename VS Window Title → Global rules, under Patterns → Solution in xxx mode, and add [gitBranchName] to the path. Update: They've changed the title of the extension to Customize Visual Studio Window Title Show activity on this post.
There is a very simple VS extension titled Customize Visual Studio Window Title. Once installed it will show the solution name plus the parent folder in the VS windows title bar instead of just the solution name.
For example:
TotallyAwesomeSolution becomes NewFeatureA\TotallyAwesomeSolution
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With