Intellij IDEA changes line endings to LF on save

已回答

Every time I save a file, IDEA changes line endings to LF.

 

How can I fix this????????????????????????

0

It looks like this might be happening only for go files. Is there a separate setting for golang file endings?

0

See https://youtrack.jetbrains.com/issue/GO-3297 Feel free to comment in that thread if you think the behaviour is not correct.

0

请先登录再写评论。