How does one change the end-of-line char(s)?

I spent about an hour searching the options for a way to get rid of \r from the end-of-line characters.  Oddly, it's not consistent.  Sometimes an edit to an existing line will result in the end-of-line characters being changed to \r\n from \n and sometimes it will not.  Is there a way to globally change the end-of-line char?

thanks,
-w

3 comments
Comment actions Permalink

I'm using PhpStorm 95.192. In Code Style -> General, line separator is set to Unix.

0
Avatar
Alexey Kudravtsev
Comment actions Permalink

When line separators set to Unix, IDEA should convert \r\n to \n.
If it is not the case, could you please create the issue in the http://youtrack.jetbrains.net/issues/IDEA
and attach the files under the question?

0

Please sign in to leave a comment.