Skip to content

Highlight whitespace in diff emitter #4010

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

Closed
euclio opened this issue Jan 12, 2020 · 1 comment
Closed

Highlight whitespace in diff emitter #4010

euclio opened this issue Jan 12, 2020 · 1 comment

Comments

@euclio
Copy link
Contributor

euclio commented Jan 12, 2020

When rustfmt trims trailing whitespace, the diff emitter output is confusing because the changed lines look identical.

git, for instance, will highlight trailing whitespace with a red background to indicate that whitespace was changed.

@ytmimi
Copy link
Contributor

ytmimi commented Jul 26, 2022

going to close this in favor of #4839 as it has a little more discussion

@ytmimi ytmimi closed this as not planned Won't fix, can't repro, duplicate, stale Jul 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants