-
-
Notifications
You must be signed in to change notification settings - Fork 99
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
Improvements to visible whitespace in console output. #953
Comments
Expanding on the first couple of differences idea - on the line that has the first difference, make whitespace visible from that point until the end of that line, but not visible in any other lines. |
After testing this out, it didn't really make sense to have whitespace visible except in two cases. An otherwise empty line has whitespace ----------------------------- Expected: Around Line 4 -----------------------------
private string field1;
private string field2;
----------------------------- Actual: Around Line 4 -----------------------------
private string field1;
····
private string field2; A line has extra whitespace at the end. ----------------------------- Expected: Around Line 3 -----------------------------
{
private string field1;
}
----------------------------- Actual: Around Line 3 -----------------------------
{
private string field1;····
} If there is extra whitespace between words, it is obvious without making the whitespace visible. ----------------------------- Expected: Around Line 1 -----------------------------
public class ClassName { }
----------------------------- Actual: Around Line 1 -----------------------------
public class ClassName { } |
When whitespace is made visible in the
--check
format, it can get noisy.Can it be changed to only show the whitespace at the beginning and end of the line?
Maybe only show the first couple of differences?
Maybe it is possible to use colors, and make the whitespace character blend into the background more?
The text was updated successfully, but these errors were encountered: