-
Notifications
You must be signed in to change notification settings - Fork 12.8k
Code fixes adding carriage returns to LF documents #18445
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
Comments
Do we know if this issue is test-only? That is, have we seen the product produce inconsistent line endings? |
In |
The format options should be specifying |
When I debugged, it was getting the newline string from the host. It sounds like that may indeed be the issue, but it also sounds like that would only affect the tests since normally the refactoring options and the host would agree, no? |
We were looking at this earlier today and it seemed to work, but it looks like vscode's formatting settings are not making it through to "getEditsForRefactor" requests -- waiting on a fix for #18328 before we can test this out. |
It's already in the EditorSettings and the LanguageServiceHost. Fixes microsoft#18291 Fixes microsoft#18445
It's already in the EditorSettings and the LanguageServiceHost. Fixes microsoft#18291 Fixes microsoft#18445
Uh oh!
There was an error while loading. Please reload this page.
Code fixes are generating files with mixed LF and CRLF line endings. See:
codeFixAddMissingMember5
codeFixAddMissingMember7
codeFixSuperAfterThis
codeFixSuperCall
importNameCodeFix*
(see comment infourslash.ts
taggedGH#18445
)The text was updated successfully, but these errors were encountered: