Skip to content

Conversation

brendanzagaeski
Copy link
Contributor

@brendanzagaeski brendanzagaeski commented Jul 23, 2020

For contributors using Visual Studio Code with the EditorConfig
extension, manual edits to .resx files would cause trailing spaces to
be trimmed from all lines of the files on each file save. This
conflicted with edits made using the Visual Studio .resx resource
editor because in that editor, each file save creates a new file that
includes trailing spaces in the explanatory Microsoft ResX Schema XML
comment.

Adjust the .editorconfig file to disable automatic trimming of
trailing spaces from .resx files. Contributors will now need to trim
trailing spaces by hand for any changed lines and avoid changing
trailing spaces for any other lines.

@brendanzagaeski
Copy link
Contributor Author

Context: #4614 (comment)

For contributors using Visual Studio Code with the EditorConfig
extension, manual edits to `.resx` files would cause trailing spaces to
be trimmed from all lines of the files on each file save.  This
conflicted with edits made using the Visual Studio `.resx` resource
editor because in that editor, each file save creates a new file that
includes trailing spaces in the explanatory `Microsoft ResX Schema` XML
comment.

Adjust the `.editorconfig` file to disable automatic trimming of
trailing spaces from `.resx` files.  Contributors will now need to trim
trailing spaces by hand for any changed lines and avoid changing
trailing spaces for any other lines.
@brendanzagaeski
Copy link
Contributor Author

Changes in the latest force-push:

Correct a typo in the commit message.

@jonpryor jonpryor merged commit a86cddc into dotnet:master Jul 23, 2020
@github-actions github-actions bot locked and limited conversation to collaborators Jan 24, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants