Re: what about adding an option to rename a file by right-clicking on it and/or using F2



I think I just stumbled across the solution for this!

Caveat: I use version 1.3.1 ... ya, I know.

Scenario: you're doing a directory compare of 2 directories and a few files have been renamed in one of the directories.
The meld display shows a green (new) file on the left "fileabc.cc" with a grey strike-through on the right
just below it, a grey strike-through file on the left and a green (new) file on the right "fileabc.cpp"
you would really like to compare fileabc.cc vs.  fileabc.cpp ...

Solution:
1. double click the fist green file in the left column (it opens a new tab displaying the single file)
2. click back on the first tab (the directory comparison)
3. double click the second green file in the right column (it opens a new tab displaying the single file)
4. now type "control-N" to open a new comparison (it opens a new window, with blank text boxes as the file names)
5. move the new comparison window off top of the existing meld window but where you can still see the two blank text boxes
6. click on the second tab (the first single file) NOTE: the full path file name is automatically selected
7. middle click the first blank text box of the new comparison window and the full path name of the single file is pasted into it
8. click on the third tab (the second single file) NOTE: again the full path file name is automatically selected
9. middle click the second blank text box of the new comparison window and the full path name is pasted into it
10. click OK, the new comparison window goes away and a 4th tab opens with the desired comparison


This also works for comparing two files on the same side of the directory compare

Hurray for productivity increase!


On Sun, Aug 7, 2016 at 6:29 AM, david kerns <david t kerns gmail com> wrote:
this is NOT a new request ... just saying...


On Sat, Aug 6, 2016 at 4:13 PM, Dimitri Komatitsch <komatitsch lma cnrs-mrs fr> wrote:

Hi Kai,

Thanks a lot for your answer, and also for letting me know that I just need to refresh after renaming the file from another window, that will solve my problem.

As you suggest I will file a bug (or more precisely: improvement/suggestion) report.

Best regards,
Dimitri.

On 07/08/2016 00:49, Kai Willadsen wrote:
On 4 August 2016 at 07:26, Dimitri Komatitsch
<komatitsch lma cnrs-mrs fr> wrote:

Hi all,

Congratulations for meldmerge, which is great and extremely useful.

What about adding an option to rename a file by right-clicking on it to open
a menu and/or using F2?

I have noticed that many times when we use it here to compare directories a
file name in the directory may have slightly changed (for instance changing
a letter from lower case to capital or similar) and then meld cannot compare
them, I need to exit, rename the file and restart meld. Having a way of
hitting F2 or right-clicking to rename the file would thus be very useful.

If that option already exists please let me know; I have downloaded the
latest stable release and have not seen it but let me know if there is a way
of renaming.

There's no way to do this within Meld at the moment. You also don't
need to quite and restart Meld after doing an external rename though;
you can just refresh the comparison.

However, I can see how this could be useful. Could you please file a
bug report? (https://bugzilla.gnome.org/enter_bug.cgi?product=meld)

cheers,
Kai


--
Dimitri Komatitsch
CNRS Research Director (DR CNRS), Laboratory of Mechanics and Acoustics,
UPR 7051, Marseille, France    http://komatitsch.free.fr
_______________________________________________
meld-list mailing list
meld-list gnome org
https://mail.gnome.org/mailman/listinfo/meld-list




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]