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

preference: add support for 'files.trimTrailingWhitespace' #8059

Closed
vince-fugnitto opened this issue Jun 19, 2020 · 1 comment · Fixed by #8742
Closed

preference: add support for 'files.trimTrailingWhitespace' #8059

vince-fugnitto opened this issue Jun 19, 2020 · 1 comment · Fixed by #8742
Labels
editor issues related to the editor enhancement issues that are enhancements to current functionality - nice to haves help wanted issues meant to be picked up, require help preferences issues related to preferences

Comments

@vince-fugnitto
Copy link
Member

Feature Description:

The following preference should be included in the framework: files.trimTrailingWhitespace.
The preference is useful to control the automatic trimming of whitespace characters when saving a text document. At the moment, there is no automatic trimming present in the framework.

'files.trimTrailingWhitespace': {
  'type': 'boolean',
  'default': false,
  'description': nls.localize('trimTrailingWhitespace', "When enabled, will trim trailing whitespace when saving a file."),
  'scope': ConfigurationScope.LANGUAGE_OVERRIDABLE
}

Additional Information

@vince-fugnitto vince-fugnitto added enhancement issues that are enhancements to current functionality - nice to haves preferences issues related to preferences editor issues related to the editor labels Jun 19, 2020
@akosyakov akosyakov added the help wanted issues meant to be picked up, require help label Jun 22, 2020
@colin-grant-work
Copy link
Contributor

I'll take a crack at it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
editor issues related to the editor enhancement issues that are enhancements to current functionality - nice to haves help wanted issues meant to be picked up, require help preferences issues related to preferences
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants