TortoiseXXX:了解具体开发项目使用的是哪种单片机软件

发布于 2024-12-08 12:51:27 字数 352 浏览 0 评论 0原文

我的系统上安装了 TortoiseSVN、TortoiseGit 和 TortoiseHg。正如预期的那样,但不幸的是,这些工具使用相同的图标来指示特定文件夹的版本控制状态。因此,当我在 Windows 资源管理器中打开软件项目文件夹时,我无法立即看到与特定解决方案/项目一起使用的 SCM 软件:

TortoiseXXX Icons

我当然可以检查 .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:

TortoiseXXX icons

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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

相思碎 2024-12-15 12:51:27

原因很简单(参见TortoiseSVN和TortoiseGit的帮助文件,搜索Icon Overlays):

事实上,您可能会发现并非所有这些图标都在您的系统上使用。这是因为 Windows 允许的覆盖数量非常有限,如果您还使用旧版本的 TortoiseCVS,则没有足够的可用覆盖插槽。 TortoiseSVN 试图成为“好公民 (TM)”,并限制其对叠加层的使用,以便为其他应用程序提供机会。

现在有更多的 Tortoise 客户端(TortoiseCVS、TortoiseHG...),图标限制成为一个真正的问题。为了解决这个问题,TortoiseSVN 项目引入了一个通用的共享图标集,以 DLL 的形式加载,可供所有 Tortoise 客户端使用。请咨询您的客户提供商,看看是否已集成:-)

因此,即使您更改其中一个工具的覆盖样式,所有其他工具也可能会遵循。如果您在 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):

In fact, you may find that not all of these icons are used on your system. This is because the number of overlays allowed by Windows is very limited and if you are also using an old version of TortoiseCVS, then there are not enough overlay slots available. TortoiseSVN tries to be a “Good Citizen (TM)” and limits its use of overlays to give other apps a chance too.

Now that there are more Tortoise clients around (TortoiseCVS, TortoiseHG, ...) the icon limit becomes a real problem. To work around this, the TortoiseSVN project introduced a common shared icon set, loaded as a DLL, which can be used by all Tortoise clients. Check with your client provider to see if this has been integrated yet :-)

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 Explorer

There you may show additional columns in your windows explorer, perhaps that is an option for you.

作死小能手 2024-12-15 12:51:27

问题是所有 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.

皇甫轩 2024-12-15 12:51:27

正如其他人已经指出的那样,所有 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).

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文