Closed xperiandri closed 8 years ago
Why this is a problem?
@vasily-kirichenko some people don't like trailing invisible char, and using a formatting tool you'd expect the output to be closest to optimal format (disregarding aesthetics).
Also those trailing characters tend to create unnecessary churn during the life of files because some will get added/removed often unknowingly.
Many people or even editors have default settings stripping those out.
Report it to Fantomas repository.
Description
Execution of "Format Document" command produces unnecessary trailing whitespaces
Repro steps
Expected behavior
No additional trailing whitespaces added
Actual behavior
Before the function on the empty line added whitespaces for indentation. After
=
sign andthen
andelse
key words added whitespace even though the line has no other characters after.Related information