Skip to content

TypeScript compiler option "newLine" seems to be ignored #233

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

Open
poschi3 opened this issue Jan 18, 2018 · 0 comments
Open

TypeScript compiler option "newLine" seems to be ignored #233

poschi3 opened this issue Jan 18, 2018 · 0 comments

Comments

@poschi3
Copy link

poschi3 commented Jan 18, 2018

My colleges and I are using Linux, Mac and Windows as developer system in a project. We decided to set the compiler option newLine to "CRLF" (Windows line ending).

In case we use the compile on save feature the option seems to be ignored. I've also tried "crlf" as value. On Linux and Mac the new line encodings are Linux style, on Windows they are in Windows style. It also doesn't correspond to the project specific Eclipse setting "New text file line delimiter".

If I start the compiler as background process (right click on tsconfig.json -> Run as -> Compile TypeScript) the right line ending is used.

I'm using Eclipse Neon.3 Release (4.6.3) and TypeScript Core 1.4.0.201708112157 on Linux.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant