CLion 2021.1 Help

External Diff Tools

If necessary, specify external tools for comparing files and folders, and associated settings.

ItemDescription
Enable external diff toolSelect to use an external tool to compare files or folders.
Path to executableSpecify the path to the executable file of the external diff tool you want to use.
Parameters

Set the diff tool parameters.

Various diff tools have different parameters. You need to specify all the necessary parameters in the proper order:

  • %1: left (local changes)

  • %2: right (server changes)

  • %3: base (the current version without the local changes)

  • %4: output (merge result)

Use by defaultSelect to use the specified external tool for comparing files or folders by default. Otherwise, CLion will use the built-in diff tool. To invoke an external tool, click the External tools button on the Differences viewer toolbar.
Enable external merge toolSelect to use an external merge tool.
Path to executableSpecify the path to the executable file of external merge tool you want to use.
ParametersSet the merge tool parameters.

Various merge tools have different parameters. You need to specify all the necessary parameters in the proper order:

  • %1: left (local changes)

  • %2: right (server changes)

  • %3: base (the current version without the local changes)

  • %4: output (merge result)

Trust process exist codeSelect to silently finish the merge if the exitCode of the external merge tool is set to 0 (successful). Otherwise, you will be prompted to indicate the success of the resolution after the tool has exited.
Last modified: 08 March 2021