I’ve been trying to find if it is possible to show the full file, or at least change how many lines are shown around a change. Anyone know if that is possible?
Is it possible to show more context or the full file?
You can expand the context area around a change by dragging the borders of it up and down to give yourself more context around the diff.
The second slide on sublimemerge.com (labeled “Review Better”) shows this in action.
Thanks, that helps. I was hoping there there was a way to do it for the whole file. Its kind of a pain, if there are a lot of changes in a file.
Well it’s a little late but I found that if you mouseover the top or bottom edge as if to drag the edge you can just double click on it and the code will unfold a few lines. Double click repeatedly until the file is fully expanded – it’s easier than click and dragging anyway!
Maybe if a triple click or shift double click could fully expand the file as a shortcut. In any case, I think this feature works great.
In build 2028 a new button was added that does this in one click, though it’s only visible while your mouse is hovered over the diff area:
Is there a settings entry so that I don’t have to click that all the time? Either to always have it show full file, or at least make it sticky, so that it remembers what you chose last time?
Hi @talsit,
We appreciate getting feedback like this from our community - feel free to submit an enhancement request here and we can investigate supporting this: https://github.com/sublimehq/sublime_merge/issues/new/choose
Cheers,
- Dylan
If your focus is within the diff container, you can use shift + f11 to toggle that behavior. The relevant key binding being
{
"keys": ["shift+f11"],
"command": "toggle_full_context",
"context": [ { "key": "control", "operand": "file_diff_hunk_container" } ],
},