pnedev / comparePlus

Compare plugin for Notepad++
GNU General Public License v3.0
1.01k stars 139 forks source link

New feature request: Merge changes #391

Open LucioMenci opened 5 months ago

LucioMenci commented 5 months ago

Hi,

I'd like to have some commands (on toolbar or in menu to assign to a shortcut key) to copy source lines of a change block (or the current single line) from the first file to the second and vice-versa, instead select all lines of a change, Ctrl+C go to the second file, select all lines of the same change anc Ctrl+V.

Thank you

pnedev commented 5 months ago

Hi @LucioMenci ,

ComparePlus already has such feature but it is not exposed as a separate command in the plugin's menu (or as toolbar button) on purpose because the menu is already too populated. To achieve the functionality you mention you can try this (I quote an info from the Release Notes for version v1.0.0):

Has "equalize diffs" feature - try mouse left-clicking on a diff's compare margin (symbol) and the same but holding Ctrl or Shift keys (or both)

I am sorry this functionality is not documented well, need to work on that, so I'll leave this thread open. If you have more questions please don't hesitate to ask them here.

BR