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

Feature request. Trim trailing spaces on Save only for Modified lines. #46

Open
fvoronin opened this issue Apr 22, 2018 · 3 comments
Open

Comments

@fvoronin
Copy link

fvoronin commented Apr 22, 2018

Is it possible to add settings which define that trailing spaces should be trimmed only for modified lines?

@nanoant
Copy link

nanoant commented Sep 3, 2018

👍
I would love to see that feature as well. Apparently Visual Studio have some information which lines has been modified.

@nanoant
Copy link

nanoant commented Sep 26, 2019

Bump. Removing trailing whitespace only on modified lines is very important if we want to keep versioning history clean but in the same time we want to prevent introducing tailing whitespace into the codebase.

@mikernet
Copy link

mikernet commented Apr 1, 2022

For internal projects removing whitespace on save is awesome because we all use this extension, but when contributing to open source projects it can be rather problematic for the reasons others mentioned above.

The proposed feature would be ideal for sure, but if that is too much work then it would be nice to be able to disable trimming on save for a solution or folder somehow so I don't need to manually toggle the setting depending on the project I'm working on.

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

3 participants