Page 1 of 1

Comparing two files -> add "external comparer" button in window

Posted: 2025-02-13, 14:57 UTC
by wanderer
When comparing two files (i'm mainly talking about code or sql), most of the time TC does adequate to pretty good job. There are some cases where a more advanced tool may be needed. Many times you understand that after having scrolled down several pages (after which TC may have lost sync between the two files). It would be nice if the "compare contents" window had a button i.e. in its upper-right corner to open the two selected files in an external compare program.

Yup, i know it could be done with a toolbar button, etc, but if you have opened several "compare" windows, you have to find and re-select the two files in question and press that button in order to compare them in an external tool. Having a button inside the "compare contents" window would be more direct and convenient. Additionally an INI parameter should exist which would contain the external comparer full path and two indicators (i.e. %L, %R) which would be replaced by TC with the two files to compare.

Example:
EXTERNAL_COMPARER="C:\Program Files\Cmp\cmp.exe" "%L" "%R"

or (if required)

EXTERNAL_COMPARER="C:\Program Files\Cmp\cmp.exe"
EXTERNAL_COMPARER_CMDLN_PARAMS="%L" "%R"

Re: Comparing two files -> add "external comparer" button in window

Posted: 2025-02-14, 05:05 UTC
by Galizza
Support+