sublime_merge icon indicating copy to clipboard operation
sublime_merge copied to clipboard

Allow over/under or inline view for 3-way diff/conflict resolver

Open detly opened this issue 2 years ago • 0 comments

I have a dual monitor setup plus laptop screen, but I like to have both monitors (2560×1440) in portrait mode. There's an option for Text Diff Style to change between side-by-side vs. inline, and to automatically select based on width. This works really well for tall displays.

Unfortunately there's no such setting for the conflict resolver/3-way diff. I have three columns where I have to scroll horizontally constantly to read each line.

Preferred solution

Implement an over/under arrangement for the 3-way diff panes and apply the Text Diff Style setting to determine when to use it.

Alternatives

  • Implement an inline 3-way diff view (could be tricky to make clear which is one "side" and which is the other)

Regarding the setting: alternatively have a separate setting for it. Personally I would find it unsurprising if that setting applied to both contexts, but I also see that it would be a change from current behaviour that others might not appreciate.

detly avatar Nov 22 '23 04:11 detly