如何在 Visual Studio 2012 中配置 kdiff3 [英] How to configure kdiff3 in Visual Studio 2012

查看:29
本文介绍了如何在 Visual Studio 2012 中配置 kdiff3的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是 KDiff 3 的长期用户并已升级到 Visual Studio 2012.我想使用 KDiff3 作为我在 Visual Studio 2012 中的默认比较和合并工具.

I am a long time user of KDiff 3 and have upgraded to Visual Studio 2012. I want to use KDiff3 as my default compare and merge tool in Visual Studio 2012.

  1. 我进入工具>选项 >源代码管理Subversion 用户工具

我得到一个外部 Diff 工具 C:\Program Files\KDiff3\kdiff3.exe 和外部合并工具 C:\Program Files\KDiff3\kdiff3.exe.

I get an External Diff Tool C:\Program Files\KDiff3\kdiff3.exe and external merge tool C:\Program Files\KDiff3\kdiff3.exe.

有一个 (...) 按钮将我带到显示 $(Base)$(Theirs) 的宏,但这似乎没有比较工作.在 Visual Studio 2010 中,我们有一个地方可以放置命令参数,但现在似乎不再如此.

There is a (...) button takes me to macros that show $(Base) and $(Theirs), but that doesn't seem to get the comparison working. In Visual Studio 2010 we had a spot to put the command arguments, but that does not seem to be the case anymore.

我应该为外部差异工具或外部合并工具输入什么?

What should I enter for External Diff Tool or External Merge Tool?

推荐答案

您应该能够在下拉列表中选择 KDiff3.通常你不需要手动配置 AnkhSVN 来使用 KDiff3.然而,似乎在 AnkhSVN 中自动检测是否安装了 KDiff3 被破坏了.尝试使用

You should be able to choose KDiff3 in the dropdown. Normally you are not required to configure AnkhSVN to use KDiff3 manually. However it seems that automatic detection of whether KDiff3 is installed is broken in AnkhSVN. Tried with

  • Visual Studio 2013,
  • AnkhSVN 2.5.12471.17,
  • KDiff 0.9.98(32 位和 64 位).

​​

我可以通过单击 ... 并用完整的宏 "$(ProgramFiles)\KDiff3.exe" 替换路径来解决这个问题文件系统上 KDiff3.exe 可执行文件的路径.

I'm able to solve this by clicking on ... and replacing the path with the macros "$(ProgramFiles)\KDiff3.exe" with the complete path to KDiff3.exe executable on filesystem.

这篇关于如何在 Visual Studio 2012 中配置 kdiff3的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆