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