Open sindresorhus opened 7 years ago
Do you have suggestions for when a word is too long?
I assume this should go up to the word boundary /\b/
, not just whitespace?
Do you have suggestions for when a word is too long?
Something arbitrary. Maybe 30 characters? Wonder how the Git diff algorithm handles this.
I assume this should go up to the word boundary
/\b/
, not just whitespace?
Yes
Some relevant resources:
This may be useful: https://github.com/aceakash/string-similarity
I think we should disable word diffing until we can implement something better. The digging continues to be unusable. I’m often using console log.
@issuehunt has funded $80.00 to this issue.
Unless the words are very long. AFAIK that's how Git diffing works too.
We don't want this (current):