Skip to content
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

Formatter don't delete space symbol at end of line #189

Closed
kyklish opened this issue Jul 22, 2022 · 0 comments · Fixed by #190
Closed

Formatter don't delete space symbol at end of line #189

kyklish opened this issue Jul 22, 2022 · 0 comments · Fixed by #190
Assignees
Labels
bug something isn't working formatter code formatter issues

Comments

@kyklish
Copy link
Contributor

kyklish commented Jul 22, 2022

Description

Formatter don't delete space symbol at end of line

Unformatted input snippet

foo()    [4 spaces at end of line]
foo()    ; comment     [4 spaces at end of line]

Expected formatted output snippet

foo()[0 spaces at end of line]
foo() ; comment[0 spaces at end of line]

Actual formatted output snippet

foo() [1 spaces at end of line]
foo() ; comment     [4 spaces at end of line]
@kyklish kyklish added bug something isn't working formatter code formatter issues labels Jul 22, 2022
@mark-wiemer mark-wiemer changed the title Formatter don't delete space symbol at end of line Delete spaces at end of line Jul 28, 2022
@mark-wiemer mark-wiemer changed the title Delete spaces at end of line Formatter don't delete space symbol at end of line Jul 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug something isn't working formatter code formatter issues
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants