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

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

0

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.