Feature request: built-in file compare
Moderators: Hacker, petermad, Stefan2, white
Feature request: built-in file compare
There being two directory listings in TC it would be nice to be able to compare files visually. Very handy.
- Wilhelm M.
- Power Member
- Posts: 1050
- Joined: 2003-06-05, 10:45 UTC
Hi!
But you can do that already! Use the cm_CompareFilesByContent command. When there differences between the 2 files a new window opens where you can see the files side by side. In this window you can deselct "binary" and compare again. In this case differences between 2 text-only files can be examined.
Suggestion: create a new button and assign it to the above command. Now you need to select the 2 files and press the button - and the files are compared.
But you can do that already! Use the cm_CompareFilesByContent command. When there differences between the 2 files a new window opens where you can see the files side by side. In this window you can deselct "binary" and compare again. In this case differences between 2 text-only files can be examined.
Suggestion: create a new button and assign it to the above command. Now you need to select the 2 files and press the button - and the files are compared.
Grüße/Regards,
Wilhelm
Wilhelm
-
- Junior Member
- Posts: 86
- Joined: 2004-05-02, 01:50 UTC
Not the original poster but I was coming to post a request on this very topic myself so I'll put it here instead.
Yes, there's Shift-F2. It's not good enough, though.
Just today I forgot and ended up cursing it again. The situation:
Panel 1 contained 10 files. Panel 2 contained 11 files, 10 of which should have been identical to those in panel 1. I tagged the relevant files and hit shift-F2. It did it's usual stupid thing in this case, it tried to compare every file to every file rather than comparing them by name.
Simple fix: When multiple files are tagged it should try to match them up by name--if it can do so it should only compare the ones with matching names, not every file to every file. I can't think of a situation where tagging multiple files in both windows would reasonably mean to compare everything to everything.
Yes, there's Shift-F2. It's not good enough, though.
Just today I forgot and ended up cursing it again. The situation:
Panel 1 contained 10 files. Panel 2 contained 11 files, 10 of which should have been identical to those in panel 1. I tagged the relevant files and hit shift-F2. It did it's usual stupid thing in this case, it tried to compare every file to every file rather than comparing them by name.
Simple fix: When multiple files are tagged it should try to match them up by name--if it can do so it should only compare the ones with matching names, not every file to every file. I can't think of a situation where tagging multiple files in both windows would reasonably mean to compare everything to everything.
-
- Junior Member
- Posts: 86
- Joined: 2004-05-02, 01:50 UTC
- SanskritFritz
- Power Member
- Posts: 3693
- Joined: 2003-07-24, 09:25 UTC
- Location: Budapest, Hungary