Allow for conditional side-by-side or inline diffEditor #123111
Labels
diff-editor
Diff editor issues
feature-request
Request for new features or functionality
insiders-released
Patch has been released in VS Code Insiders
verification-needed
Verification of issue is requested
verified
Verification succeeded
Milestone
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:
The
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 tofalse
.(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.
The text was updated successfully, but these errors were encountered: