jupyterlab/jupyterlab-git

Diff any two local notebooks or files

robna opened this issue · 2 comments

robna commented

Is your feature request related to a problem? Please describe.

I couldn't figure out a way to diff two notebooks that are in a project directory. So I mean, to diff the files against each other, instead of against a certain commit.

Describe the solution you'd like

It would be nice to be able to select two files in the file browser panel,
and then have an option in the Git top menu: Diff selected files (or maybe a short cut like Ctrl + D or something)

This was also recently proposed in nbdime: jupyter/nbdime#660 which might be a better place to implement this.

robna commented

ok, I agree