-
Notifications
You must be signed in to change notification settings - Fork 128
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Highlight diffs in duplicated code #57
Comments
Yeah, I actually realized this and modified the text :) The new idea would be just a highlight on the literal/identifier that is not in common between the multiple chunks. Would that be better? |
The link is broken for me
But for N=2 such a diff would be extremely useful, it can work the way it works now by default, yet resort to display diffs for N=2 if an explicit command line argument is used? Now I have to pipe the output into vim, copy/paste the chunks by hand into temporary files and run vimdiff on them, because I don't know of a better way. |
Would be nice to highlight the identifiers/literals that are the only difference between the snippets, when one uses the
-I
or-L
options, in a similar manner to a color diff.They would be helpful in refactoring since I'd have an hint on what should be a parameter of the newly created function.
Have you thought about it?
The text was updated successfully, but these errors were encountered: