difftastic icon indicating copy to clipboard operation
difftastic copied to clipboard

Improve detection of extracted symbols

Open artuross opened this issue 3 years ago • 1 comments

Hey,

consider this example:

image

I think a more "valid" diff would be to show that gui.render has been wrapped by helpers.OnScrollFunc and that the next line is new.

Rendered diff shows as if (helpers.OnScrollFunc(gui.render)).SetFocusFunc was added.

I'm using version 0.31.0 on MacOS.

artuross avatar Jul 23 '22 06:07 artuross

I agree. Could you try with 0.33 or later? That improved diffing logic.

Also, could you attach a copy of the file you're showing here, or share a link to it?

Wilfred avatar Aug 28 '22 19:08 Wilfred

Closing, because I'm unable to check with that code whether it is working better now. Sorry for the delay 😅

artuross avatar Mar 03 '23 22:03 artuross