How to configure kdiff3 in Visual Studio 2012

假装没事ソ 提交于 2019-12-11 08:11:40

问题


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. I go into Tools > Options > Source Control > Subversion User Tools,
  2. I get an External Diff Tool C:\Program Files\KDiff3\kdiff3.exe and external merge tool C:\Program Files\KDiff3\kdiff3.exe.

    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?


回答1:


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-bit and 64-bit).

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.



来源:https://stackoverflow.com/questions/25870491/how-to-configure-kdiff3-in-visual-studio-2012

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!