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

Trim whitespace at the end of lines on save #108

Open
kyldvs opened this issue Aug 19, 2018 · 2 comments
Open

Trim whitespace at the end of lines on save #108

kyldvs opened this issue Aug 19, 2018 · 2 comments

Comments

@kyldvs
Copy link

kyldvs commented Aug 19, 2018

I constantly find myself with extra white-space all throughout my sketches. I'm pretty sure this is a very common editor feature so would be desirable to add here too. Maybe prevent trimming currently focused line though.

@thangngoc89
Copy link
Member

I'm not sure if this is a common editor behavior. VS Code doesn't behave like that :) . But refmt will definitely help here.

@kyldvs
Copy link
Author

kyldvs commented Aug 19, 2018

It's common enough that it has an option built into VSCode, perhaps this could be a configurable option for logged in users?

https://stackoverflow.com/questions/30884131/remove-trailing-spaces-automatically-or-with-a-shortcut

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants