0

我们有两个分支——主干和发布。我们通常只使用一个。但是我们有时会与两个分支机构合作。分支在两个窗口 VS2008 中打开。它们看起来一样。它们仅在文件路径上有所不同。我该怎么做才能使它们看起来明显不同?

4

2 回答 2

0

For Visual Studio 2010 and 2012 (but unfortunately, it appears, at least this one not for 2008), there exists an extension named Rename Visual Studio Window Title which allows you to put a portion of, or quite possibly all of, the path to the solution file into the Visual Studio window title.

I'm using it with VS2010 and for all I can tell, it works great.

Maybe if you ask really nicely, the author can be persuaded to make a version that works with VS2008 as well.

于 2013-08-29T09:02:49.997 回答
0

您可以在属性资源管理器中重命名解决方案,以便窗口标题不同。

这将重命名 .sln 文件,但内容相同。只需在重新集成之前将其重命名为原始标题即可。

这将为您提供在分支和主干上同时工作时打开具有两个不同名称的窗口的效果。

编辑:

另一种选择是为具有不同标题的分支创建不同的解决方案文件,链接到相同的项目中,但是您需要使它们保持同步。根据您添加/删除项目的频率,这可能会很痛苦。

于 2012-08-09T14:23:20.983 回答