Skip to content
This repository has been archived by the owner on Oct 7, 2020. It is now read-only.

Inconsistent Line Endings #6

Open
alvinleonard opened this issue Jun 23, 2014 · 2 comments
Open

Inconsistent Line Endings #6

alvinleonard opened this issue Jun 23, 2014 · 2 comments

Comments

@alvinleonard
Copy link

I have noticed that line endings are generated differently on Windows (\r\n) and OSX (\n). We should have a consistent line endings, preferrably one that is supported by both OS.

@unkillbob
Copy link
Collaborator

Please can you provide more details on this?

Are you referring to the line endings in the generated code? Or line endings in the templates themselves?

Also after clarifying can you please provide reasoning for why this is a problem for you? Generally you shouldn't care about the line endings in generated code, as long as the code works in the environment you execute it in this shouldn't be a problem...

@alvinleonard
Copy link
Author

Are you referring to the line endings in the generated code? Or line endings in the templates themselves?
-- It is in the generated code. We are pretty sure that everyone set their line endings in Eclipse to Windows line endings, but it still generate Unix line ending on OSX for me.

Also after clarifying can you please provide reasoning for why this is a problem for you?
-- I checked in the generated templates and it is quite annoying to get "new" template generated and it is actually not new but rather the difference is only in line endings.

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

No branches or pull requests

2 participants