有时,当我想使用Visual Studio(2012)检查我对团队资源管理器的待定更改时,我得到一个奇怪的摘要“包含的更改(x of y) ”其中x小于y 。 即使我从解决方案的根目录登记,当我选择“全部显示”时,我也看不到所有的变化。
在下面的例子中:当我设置“显示解决方案更改”时,我看到452中的96,当我选择“全部显示”时,我看到了452中的178个。丢失的文件是解决方案的一部分,而常见的源文件与其他文件一样。
PS:政策警告无关紧要,冲突与此行为无关。
From time to time, when I want to check in with Visual Studio (2012) my pending changes to Team Explorer, I get a strange abstract "Included Changes (x of y)" Where x is smaller than y. Even when I check in from the root directory of the solution and when I select "Show all" I can't see really all changes.
In the case below: When I set "Show Solution Changes" I see 96 of 452, when I select "Show all" I see 178 of 452. The missing files are part of the solution and common source files as the others.
P.S: Policy warning is irrelevant and conflicts are irrelevant to this behavior.
最满意答案
Show All只需使用“ Show Solution Changes或“ Custom Filter删除已应用的任
如果要查看所有更改,则需要使用“ Show All链接”旁边的“ Go to All Changes Show All链接。 这将显示工作区中所有更改的完整列表。
它需要一点点习惯,但我实际上非常喜欢这种方式。 我认为这样做的理由是保持这个空间相当小,以免将排除项目列表方式推到底部(我相信,排除的项目也会以相同的方式运行)。
Visual Studio的扩展名为Team Pilgrim ,它将为您提供旧样式挂起更改窗口的版本。
另一点需要注意的是VS2013( 1 )中不再出现这种情况(感谢StefanG指出这一点)
Show All simply removes any filter you have applied using either Show Solution Changes or Custom Filter.
If you want to view all your changes, you need to use the Go to All Changes link, right next to your Show All Link. This will show you the complete list of all changes across the workspace.
It takes a little getting used to, but I actually quite like it this way. I believe the rationale behind doing it was to keep that space fairly small, so as not to push the Excluded Items list way to the bottom (Excluded Items will also behave in the same manner, I believe).
There is an extension for Visual Studio called Team Pilgrim that will give you a version of the old style pending changes window.
Another point of note is that this behaviour is no longer the case in VS2013 (1) (Thanks to StefanG for pointing this out)
更多推荐
发布评论