Intellij IDEA changes line endings to LF on save
Answered
Every time I save a file, IDEA changes line endings to LF.
How can I fix this????????????????????????
Please sign in to leave a comment.
It looks like this might be happening only for go files. Is there a separate setting for golang file endings?
See https://youtrack.jetbrains.com/issue/GO-3297 Feel free to comment in that thread if you think the behaviour is not correct.