-
-
Notifications
You must be signed in to change notification settings - Fork 195
Whitespace visualization in diffs? #63
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
Comments
Since I have no clue what kind of (character) modifications someone could possibly think of, I will implement some kind of extension point. |
Oh, By the way, I use ␍␊ in https://github.com/autostyle/autostyle, and it works great so far. |
Just in case, my experience with Windows console is it is extremely hard to output the proper characters. |
Now you could set a processDiffs function to process the diffed text to replace the text. Look at the corresponding test: |
Uh oh!
There was an error while loading. Please reload this page.
Code formatting often involves "extra whitespace" or "missing whitespace" or "CRLF vs LF" issues.
Unfortunately, whitespace is not visible by default.
What if there was an option to visualize the whitespace that contributes to the diff?
For instance: use ␍␊ characters when output encoding allows. Use · for space visualization, and so on.
Note: the point is not "visualize all the whitespace characters", but "visualize only those chars that contribute to the diff".
The text was updated successfully, but these errors were encountered: