Open
Description
Problem description
The current diff view options are either inline or side-by-side.
In both cases, only the diff hunks and a few lines of context are shown.
Sometimes you need a lot more context.
Preferred solution
An option to show the entire file (essentially, infinite context), with the diff regions highlight as they currently are.
Screenshots
I'm coming from https://git-fork.com/, which can do this, see this screenshot (this is also relevant for #2033).
Activity
themilkman commentedon Apr 28, 2025
https://www.sublimemerge.com/ - see the second animation, you may increase the hunk size.
Also, when hovering the section below the file name, an icon occurs that allows you to show the entire file.
Is that what you were looking for?
nikclayton commentedon Apr 28, 2025
It seems to be possible to drag the dividers to -- on a per-file basis -- change the hunk size for a particular diff, but that is inadequate for a number of reasons.
dpjohnst commentedon May 1, 2025
G'day @nikclayton,
Thanks for sharing this detailed feedback - really appreciate it!
I'll be looking into ways to address this.
Cheers,
- Dylan from Sublime HQ
dpjohnst commentedon May 6, 2025
Hi @nikclayton,
I just wanted to follow up in case you've missed this. There is also a "show entire file" button on the diff that can be clicked to quickly reveal the entire file. This button is visible when hovering over the diff:
Kind regards,
- Dylan from Sublime HQ
nikclayton commentedon May 9, 2025
Yes -- I'd like a preference that makes that the default behaviour.