文件夹上的 AnkhSVN 字形
我最近切换到了VS2008的最新版本AnkhSVN。一切工作正常,除了我无法弄清楚如何使字形出现在文件夹上。文件指示其状态很好,但文件夹不指示其内容是否已更改。
我发现此常见问题解答条目解释了字形不适用于普通项目类型: http: //ankhsvn.open.collab.net/wiki/Faq#head-88630ae09ebe716a8edd451fe675bf560b14a118
有没有任何解决方法可以显示字形?挂起的更改窗口可以,但我希望在解决方案资源管理器中的实际文件夹上有某种指示。
谢谢, b3n
I have recently switched to the latest version of AnkhSVN for VS2008. Everything is working fine except I couldn't work out how to make glyphs appear on folders. Files indicate their status just fine but folders do not indicate whether their content has changed or not.
I found this FAQ entry explaining that glyphs do not work on normal project types: http://ankhsvn.open.collab.net/wiki/Faq#head-88630ae09ebe716a8edd451fe675bf560b14a118
Is there any workaround to get the glyphs to show up? The pending changes window is ok but I would prefer to have some sort of indication on the actual folder in the solution explorer.
Thanks,
b3n
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
Visual Studio 不会查询(拉取)SCC 提供程序以获取文件夹字形,获取它们的唯一方法是使用 hack 手动设置文件夹上的字形(推送)。 AnkhSVN 项目决定不使用此 hack,而是依赖 Visual Studio SDK 提供的支持 API。
拉取 API 也更加高效,因为 VS 只会在字形可见时拉取该字形。当推入时,可见性无法确定,因此字形总是必须被推入。
Visual Studio isn't querying (pulling) SCC providers for folder glyphs, the only way to get them there is by using a hack to set the glyph on the folder manually (pushing). The AnkhSVN project decided to not use this hack, and rely on the support API provided by the Visual Studio SDK.
The pulling API is also a lot more efficient because VS will only pull the glyph when it's visible. When pushing the visibility can't be determined, so the glyph always has to be pushed.
查看 VisualSVN for Visual Studio:它正确集成到 Visual Studio 并显示解决方案中所有项目的状态图标资源管理器,包括文件夹。
Check out VisualSVN for Visual Studio: It properly integrates to Visual Studio and displays status icons for all items in Solution Explorer including folders.