-
Notifications
You must be signed in to change notification settings - Fork 37.3k
Description
I like side-by-side diffs. I'm also pretty happy with inline diffs. What I don't like is finding myself looking at side-by-side diffs in a narrow editor window:
My suggestion aligns with responsive web design - the diffEditor should be configurable to run side-by-side above a certain breakpoint, and inline below.
proposed configuration flag:
diffEditor.renderInlineBreakpoint: numberThe renderInlineBreakpoint value could be pixels (probably the easiest implementation path) or a character count (probably a finer-grained tool).
This flag would have no effect if diffEditor.renderSideBySide is set to false.
(Famous last words) This seems like a pretty straightforward patch to write. I could have a look at it myself if I receive some feedback to the effect that there are no anticipated blockers with respect to merging something like this into main.
