TortoiseXXX:了解具体开发项目使用的是哪种单片机软件
我的系统上安装了 TortoiseSVN、TortoiseGit 和 TortoiseHg。正如预期的那样,但不幸的是,这些工具使用相同的图标来指示特定文件夹的版本控制状态。因此,当我在 Windows 资源管理器中打开软件项目文件夹时,我无法立即看到与特定解决方案/项目一起使用的 SCM 软件:
我当然可以检查 .svn、.git 和 .hg 子文件夹是否存在,但如果 SCM 在主文件夹图标上指示或作为工具提示,会更有效将鼠标指针悬停在文件夹上。
有谁知道是否存在提供此类功能的 shell 扩展?
I have TortoiseSVN, TortoiseGit and TortoiseHg installed on my system. As expected, but unfortunately, these tools use the same icons to indicate the version control status for a specific folder. Thus, when I open my software projects folder in Windows Explorer, I cannot immediately see which SCM software that is used with a specific solution/project:
I can of course check for the existence of .svn, .git and .hg sub-folders, but it would be more efficient if the SCM would be indicated on the main folder icon or as a tooltip when hovering the mouse pointer over the folder.
Does anyone know if there exists a shell extension providing such functionality?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
原因很简单(参见TortoiseSVN和TortoiseGit的帮助文件,搜索Icon Overlays):
因此,即使您更改其中一个工具的覆盖样式,所有其他工具也可能会遵循。如果您在 XP 下工作(我已经在 Windows 7 上检查过了,它不再工作了),您可能可以在
TortoiseSVN Help > 中找到详细的选项。 4.7.2
:Windows 资源管理器中的 TortoiseSVN 列您可以在 Windows 资源管理器中显示其他列,也许这对您来说是一个选项。
The reason for that is quite simple (see the help files of TortoiseSVN and TortoiseGit, search for Icon Overlays):
So even if you change the overlay style for one of the tools, it may be that all the others follow. If you are working under XP (I have checked it with Windows 7, and there it does not work any more), you may have the option detailed in
TortoiseSVN Help > 4.7.2
: TortoiseSVN Columns In Windows ExplorerThere you may show additional columns in your windows explorer, perhaps that is an option for you.
问题是所有 Tortoise 客户端都使用相同的共享组件来显示覆盖图标 - TortoiseOverlays。 Windows 只有有限数量的可用插槽用于图标覆盖处理程序(大约 12 个 - 其余的由系统本身使用)。这对于 Tortoise 客户端来说是一个问题,因为它们通常需要大量这些处理程序来显示文件和文件夹的不同状态。如果用户安装了多个 Tortoise 客户端,则已经足以达到系统限制,并且某些叠加层将不再显示。
TortoiseOverlays 项目的目的是为所有 Tortoise 客户端提供一个通用的图标覆盖处理程序。这降低了达到系统限制的风险。唯一的缺点是所有 Tortoise 客户端都将具有完全相同的覆盖图标,这意味着用户无法立即从覆盖图标中看到哪个版本控制系统正在处理某个文件文件夹。但这仍然比由于系统限制而根本无法显示叠加层要好得多。
The problem is that all Tortoise clients use the same shared component for showing the overlay icons - TortoiseOverlays. Windows only has a limited amount of free slots for icon overlay handlers (around 12 - the rest is used by the system itself). This is a problem for Tortoise clients because they usually need a lot of those handlers to show the different states of files and folders. If a user has more than one Tortoise client installed, that's already enough to hit the system limit and some overlays won't show up anymore.
The purpose of the TortoiseOverlays project is to provide a common icon overlay handler for all the Tortoise clients. This reduces the risk of hitting the system limit. The only downside is that all Tortoise clients will have the very same overlay icons, which means the users won't immediately see from the overlays which version control system is handling a certain folder of file. But this is still far better than not be able to show an overlay at all because of the system limit.
正如其他人已经指出的那样,所有 Tortoise 客户端都使用相同的图标是有充分理由的。所以我不会再详细讨论这一点。
但为什么不自定义自己的顶部文件夹图标?您可以为每个工作副本文件夹使用一个独特的图标(不仅仅是覆盖图标,而是完整的图标!)。
这样,您可以立即识别每个工作副本正在使用什么版本控制系统(假设您使用一个图标来指定 git 工作副本,一个用于 svn 工作副本,另一个用于 hg 工作副本)。
As others already noted, there's a very good reason for all Tortoise clients to use the same icons. So I won't go into the details about that anymore.
But why don't you customize the top folder icons yourself? You could use a distinguished icon (not just an overlay but a full icon!) for every working copy folder.
That way, you could immediately recognize what version control system each working copy is using (assuming you're using one icon to specify git working copies, one for svn working copies and another one for hg working copies).