问题
My job forces me to work in Visual Studio and .NET. I'm attempting to streamline the experience, somewhat successfully. (TFS still thwarts me.)
Right now, I want to work with multiple Solution Explorers, as we have a Visual Studio solution containing a multitude of csproj files. Creating a new Solution Explorer view for each commonly-used project would be great, except for this - all of the tabs and titles say "Solution Explorer".
Is there any way to change the title of the Solution Explorer window and tab? Is there any way to set the title to the title of the root solution or project file? (If there's an extension that will do this, I will happily install it.)
Thank you.
Edit: It looks like my question wasn't understood very well. The project conforms to regular standards - it's one Solution with multiple Projects, with a highly-nested directory structure. Basically, instead of having to scroll a lot, and constantly open and close nodes in the tree view, I'd like to have multiple Solution Windows to help facilitate this. Visual Studio provides an option called New Solution Explorer View
in the context menu, which will open a new Solution Explorer window with a target object at its root. I want to do this for the commonly-used projects in my solution, but I want each Explorer instance to be named so that I can keep them in a single pane and click between them. Make sense?
Hope I've appeased the VS enthusiasts.
Double Edit: This is the feature I'm looking for. Is this possible through an extension?
回答1:
In Visual studio 2015, the name of the window is the same name of the solution. For change the Title of a solution:
Click em the Title and press F2 key, or click with right button and click in rename.
TIP: You can use various projects, with the same solution, but you can't open two solutions in the same window. You can open each solution in each window. You can create multiples solutions with the same projects, if you don't wanna open all projects at the same time, create a reduce solution.
来源:https://stackoverflow.com/questions/28461703/change-the-title-of-solution-explorer-in-visual-studio