I am working on a multi-platform project which stores its source files with LF endings. Each time I open one file under Windows, the endings are set to CRLF, which is not what I want. I want to maintain whatever line ending the file has.
I set the option Code style - General - Line separator (for new files) to "Unix and OS X (\n)", but this is just a fix for new files.
How can I keep the line separators when editing existing files? Or at least, how can I specify what line separator to use for existing files? All the information I got on the net was only about git and "autocrlf = true" option which I don't care about.