3 ms·
It seems like things displaying diffs could use a specific color for lines only changed by formatting or indentation (indentation can have significant meaning l
by jraph 5y ago
It seems like things displaying diffs could use a specific color for lines only changed by formatting or indentation (indentation can have significant meaning like in Python but this would probably be good enough)
- dotancohen 5y agoI believe that Git diff - which has features not supported by regular diff such as --word-diff - can differentiate between whitespace-only line changes. The Jetbrains IDE, which I believe uses Git diff behind the scenes, will show who originally wrote a line even if it has been whitespace-reformatted later.