Line Separator setting is not working

Answered

Hi professionals,

My "Line Separator" setting is not working somehow.  Rider uses LF instead of my CR LF setting at specific condition.

When i commit changes whole the file, it works fine.  Rider uses CR LF correctly.

But, when i commit by patch, Rider uses LF.

My environment is:

  • Rider: 2018.2.3
  • macOS Mojave 10.14.1

i'm using LF usually, but my current project uses CR LF.

thanks.

3 comments

Hi,

This bug was fixed in Rider 2018.3, see https://youtrack.jetbrains.com/issue/IDEA-192771. You can use a [EAP build](https://www.jetbrains.com/rider/eap/) for now or wait for the stable release (~ late December).

0

hi, thank you for your nice reply.  I will try the build at next workday.  thanks.

0

Hum, in my environment, Rider 2018.3 EAP still uses LF instead of CRLF.

It will use LF in both cases which are patch, and whole.

But changing git config works fine.  I set git core configurations:

-  eol = crlf
- autocrlf = false.

0

Please sign in to leave a comment.