This lightweight extension will change the window title of Visual Studio to include a folder tree with a configurable min depth and max depth distance from the solution/project file, or using special tags.
It can also be configured so that the renaming rules apply only when at least two instances of Visual Studio are running with the same window title.
With default settings, SolutionFolder – Microsoft Visual Studio (Administrator) will be rewritten as SolutionFolderParent\SolutionFolder – Microsoft Visual Studio (Administrator)*.
The following special tags are available:
- [documentName] Active document or window name;
- [projectName] Active project name;
- [solutionName] Active solution name;
- [parentX] Parent folder at the specified depth X (e.g. 1 for document/solution file parent folder);
- [parentPath] Current solution path or, if no solution open, document path, with depth range as set in settings;
- [ideName] Name of the IDE (e.g. Microsoft Visual Studio);
- [configurationName] Current configuration name (e.g. Release);
- [platformName] Current platform name (e.g. x86);
- [vsMajorVersion] Major version of Visual Studio (e.g. 9, 10, 11, 12, 14…);
- [vsMajorVersionYear] Major version of Visual Studio, in year form (e.g. 2008, 2010, 2012, 2013, 2015…);
- [gitBranchName] Current Git branch name. Make sure Git’s executable directory is added to the Windows PATH variable;
- [workspaceName] Current Team Foundation Server (TFS) workspace name.
‘ *’ will be added at the end automatically to identify that the title is being improved.
This is particularly useful when branching a solution/project: it becomes possible to easily identify which branch you are working on, in the case where both would have the same solution/project name.