We work on several different branches of the same code, and when working on two branches at once, it can become confusing and time wasting.
Presently, the VS title bar has the text <solution-name> - Visual Studio
.
Is it possible for me to write an extension that will make that text <solution-name>: <branch-name> - <Visual Studio>
?
Added option in Tools > Options > Rename VS Window Title to specify the minimum number of instances of Visual Studio above which the extension will modify the window title (default: 2).
I did some tests, you can try to set Common elements > Main Window > Caption > Active/Inactive > Background option to change the title bar colors. And set Common elements > Tool Window > Caption > Active/Inactive > Background option to change the title bar colors of docked/undocked windows.
Right-click Form1. vb in the Solution Explorer window (the window above the Properties window). Choose Rename from the context menu that appears. Change the text from Form1.
Click the Cortana button on the taskbar and enter Control Panel in the search box to open it. Then click Display to open the options shown below. There you can customize the font sizes in Windows. Click the drop-down menu on the left and select Title bars.
I just created a small Visual Studio extension that can help: http://visualstudiogallery.msdn.microsoft.com/f3f23845-5b1e-4811-882f-60b7181fa6d6
This small extension will detect whenever two instances of Visual Studio are running and change the window title of Visual Studio to include the parent folder name of the solution. It will therefore change SolutionFolder - Microsoft Visual Studio into SolutionFolderParent\SolutionFolder - Microsoft Visual Studio.
This is particularly useful when branching a solution: it becomes possible to easily identify which branch you are working on, in the case where both would have the same solution name.
Official page here: http://erwinmayer.com/labs/visual-studio-2010-extension-rename-visual-studio-window-title/
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