Menu

#479 Allow swaping left/right files and directories

open
nobody
Usability (267)
5
2023-05-25
2004-10-22
No

This RFE is an extraction from a preceding multiple
feature request by Kalyan:

[ 860174 ] Tooltips for directory compare statepane

https://sourceforge.net/tracker/?
func=add&group_id=13216&atid=363216

4.Option to swap left ,right files.

There is a short discussion too.

---------------------------------

Swapping files is very useful when files are selected by
explorer context menu - such an feature would be very
comfortable, because if I have always the older
file/directory in the left pane it would be much less
probabble I coppied an older file/text over a newer one.

Technically this should be very easy to implement.

The switch option could be added to "View" menu and
could sound something like "Swap panes" or "Swap sides".
(But I understand this menu item could be added to V2.3
since UI of 2.2 is already frosen.)

The shortct could be set to Alt-F6 (in connection with
F6 and Ctrl-F6 that are currently in use). The shortcut
could be added to 2.2 release too.

Discussion

  • Kimmo Varis

    Kimmo Varis - 2004-10-22

    Logged In: YES
    user_id=631874

    Thanks for submitting this as separate request.

    For WinMerge codebase its not so easy to implement. Sides
    are hard-coded in doc/view - what we initially load to left
    side doc is always in left-side view.

    What we should have is two file docs/file buffers and two
    views and small table or something to map doc/buffer to view.

     
    • jesus2099

      jesus2099 - 2023-05-25

      Currently WinMerge 2.16.22.0 already has this feature so there is nothing difficult to implement (anymore).

      We press Alt+V, A, Enter to invoke View > Swap Panes > Swap 1st | 2nd.

      Just a shortcut (Ctrl+U or Alt+F6) and button to add.

       
  • elsapo

    elsapo - 2005-03-13

    Logged In: YES
    user_id=1195173

    I would like this also, because when I drop directories
    "altered" and "original" into WinMerge, they are always in
    the wrong order, and it is tedious to switch them manually:

    Push Open button, highlight entire path in top edit box,
    push ctrl-X, click in beginning of lower box, push ctrl-V,
    click shift-end to select remainder of old text in lower
    box, push ctrl-X, click in upper box, push ctrl-V, and then
    hit compare button to finally get the switched results.

     
  • Joel Rabinovitch

    Logged In: YES
    user_id=794903

    I agree. This is definitely that would be useful.

    I've been using WinMerge mostly from the Explorer Shell
    extension, and as a result, I have no control of what goes on
    the left and right sides.

     
  • Kimmo Varis

    Kimmo Varis - 2005-11-17

    Logged In: YES
    user_id=631874

    There is a patch for this now. But that patch is big one and
    changes lots of very important code. So it may take a while
    we get it reviewed and applied.

    Patch #1265295 proposal patch for 3-way diff (after 2.4 release)
    https://sourceforge.net/tracker/index.php?func=detail&aid=1265295&group_id=13216&atid=313216

     
  • Kimmo Varis

    Kimmo Varis - 2005-11-28

    Logged In: YES
    user_id=631874

    I just applied a patch to CVS trunk (2.5) for swapping
    left/right panes in file compare.

     

Log in to post a comment.

MongoDB Logo MongoDB