include: intro
See Milestones for release notes.
Currently used by:
include: sponsors
toc include: doc-index
include: diffToolList
A tool can be launched using the following:
snippet: DiffRunnerLaunch
Note that this method will respect the above difference behavior in terms of Auto refresh and MDI behaviors.
A tool can be closed using the following:
snippet: DiffRunnerKill
Note that this method will respect the above difference behavior in terms of MDI behavior.
DiffEngine use EmptyFiles to determine if a given file or extension is a binary or text. Custom extensions can be added, or existing ones changed.
BuildServerDetector.Detected returns true if the current code is running on a build/CI server.
Supports:
There are also individual properties to check for each specific build system
snippet: BuildServerDetectorProps
BuildServerDetector.Detected can be set at test time. The value is stored in an AsyncLocal, so it is scoped to the current async context and does not leak to other threads or tests running in parallel.
snippet: BuildServerDetectorDetectedOverride
DiffEngine automatically detects when it is running inside an AI-powered CLI environment and disables the diff tool launch. This means no DiffEngine_Disabled=true environment variable is required when running tests from within an AI CLI — it is detected and handled automatically.
Supported AI CLIs:
AiCliDetector.Detected returns true if the current code is running in an AI-powered CLI environment.
There are also individual properties to check for each specific AI CLI
snippet: AiCliDetectorProps
Set an environment variable DiffEngine_Disabled with the value true.
DiffRunner.Disabled = true;
Game designed by Andrejs Kirma from The Noun Project.
Tray icons from LineIcons.