Resx - remove trailing white spaces and extra Newline at EOF#4047
Resx - remove trailing white spaces and extra Newline at EOF#4047lzybkr merged 2 commits intoPowerShell:masterfrom
Conversation
SteveL-MSFT
left a comment
There was a problem hiding this comment.
We should update https://github.com/PowerShell/PowerShell/blob/master/docs/FAQ.md with the recommended settings in VSCode for automatic removing of trailing whitespace for resx files
|
Just confirming - this PR does not leave files with no newlines at the EOF, right? |
Yes.
Yes. Actually only removes extra Newline at EOF. Resx files without Newline at EOF is not found. |
|
Maybe better add this to https://github.com/PowerShell/PowerShell/blob/master/docs/dev-process/coding-guidelines.md ? |
|
@iSazonov yeah, even better! |
|
@SteveL-MSFT I open #4054 Full description of VS Code is in using-vscode.md - so I added recommendations in the document and link from CONTRIBUTING.md |
Motivation - So far we have not been able to use VS Code automatic removing trailing white spaces without the cleanup.
The cleanup is done with @lzybkr script from #3001
A few days ago in #3576 I saw Resx files without Newline at EOF. Now they're miraculously gone. I don't know who and how to fix it. Now I only found files with extra Newline at EOF. Fixing script is based on script above and attached.
fix_EOF.txt