madskristensen / FileDiffer

A Visual Studio extension
Other
133 stars 33 forks source link

Hotkeys to move between differences and move differences to left/right #30

Open sbenzenko opened 2 years ago

sbenzenko commented 2 years ago

For a long time I've been using a tool called WinMerge that does similar thing: comparing files. What's very nice about this tool is the ability to move between differences using Alt+Up/Down. Also you can copy the line with the difference to left/right using Alt+Left/Right correspondingly. This I find very useful if you want to merge your changes into another file. You don't have to do select > copy > select in other panel > paste. Just Alt+Left and the entire difference i copied from right panel to left.

For some reason VS does not provide this functionality. And I'm not sure if it's possible to do that in the extension, but I would really love it.

OculiViridi commented 1 year ago

@sbenzenko I completely agree with you! Shortcut keys would be great! It would also be useful to have the same commands on context menu when right clicking on a line with differences or eventually, when hovering it.