* [Choosing a DiffTool preference](#choosing-a-difftool-preference)<!-- endToc -->
If you do not like the default order that DiffTools are chosen, you can easily create a custom Reporter with your own preferences.
Once you create the class, you select it with the [UseReporter(typeof(CustomDiffReporter))]
public class CustomDiffReporter :
FirstWorkingReporter
{
public CustomDiffReporter()
: base(
//TODO: re-order or remove as required
BeyondCompareReporter.INSTANCE,
TortoiseDiffReporter.INSTANCE,
AraxisMergeReporter.INSTANCE,
P4MergeReporter.INSTANCE,
WinMergeReporter.INSTANCE,
KDiff3Reporter.INSTANCE,
VisualStudioReporter.INSTANCE,
RiderReporter.INSTANCE,
FrameworkAssertReporter.INSTANCE,
QuietReporter.INSTANCE
)
{
}
}
You can also override the default order while using DiffReporter
by defining DiffEngine_ToolOrder
environment variable. The value of that variable should contain a delimiter (,
, |
,
) separated list of the diff tool names in the desired order. More details about that in Diff Tool Order