3 ms·
You could hack a diffing tool that reformats both the before and after and shows the diff of the generated text. This would not catch changes like --val
by estebank 10y ago
You could hack a diffing tool that reformats both the before and after and shows the diff of the generated text.
This would not catch changes like
--val x = [1]
++var x = [
++ 1,
++];
as expected, while it would give you a slightly more verbose diff if the change was
--val x = [short(), short()];
++val x = [
++ a_really_long_name_that_pushes_the_line_length(),
++ a_really_long_name_that_pushes_the_line_length(),
++];