-
Notifications
You must be signed in to change notification settings - Fork 203
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
tsconfig.json always save to CRLF on Windows environment #678
Comments
Looks like it's currently done intentionally and can't be changed (https://github.com/TypeStrong/atom-typescript/blob/master/dist/main/tsconfig/tsconfig.js#L422). The fix here would be to detect the current line endings, like we do with indent, and stringify it back the same. |
Also the setting needs to be sent from the front end process to the backend process (which is the main reason it hasn't been done yet) |
Using a separate file instead of |
Atom Editor now has line ending selector for selecting ending format of file.
But on Windows environment even I try to select LF format for tsconfig.json which always be saved to CRLF format.
Does it have limitation to solve the issue? Thanks a lot!
The text was updated successfully, but these errors were encountered: