Sublime Forum

Unfold diff

#1

It would be very good to have a possibility to unfold unchanged sections of a diff. For example, in Gitlab there is a button on each fold that says “show unchanged lines”. This would be a good compliment to the currently implemented “push up”/“push down” mouse actions.

0 Likes

#2

“push up”/“push down” is this?

0 Likes

#3

Yes, exactly. My proposal is to have an option to show all lines above until the next diff or file start. (Likewise in downward direction.) Maybe by double-clicking on the fold? This is at least something I have tried.

0 Likes

#4

Just noted that this request is related to Is it possible to collapse or expand the diff?. It is not asking for the same thing to my understanding.

0 Likes

#5

Hi @fdr,

Thanks for sharing this feedback!
For the meantime, you can currently double click on the edges of the context to expand it.

Kind regards,
- Dylan

0 Likes

#6

Cool, I didn’t know about this! It is nearly what I was thinking about.

0 Likes