Community
Participate
Working Groups
I work in Windows, but all the files are in UNIX line feeds. I would like to have Eclipse work natively with those files, and with new files I create like every other IDE does. I would like to be able to have a global setting for all of Eclipse so that I am working with Unix file standards. This is very important to me, as files I check in to CVS after I edit them in Eclipse have the linefeeds corrupted. The \r\n pair is saved to CVS directly, but when read back is converted to \r\r\n or something like that. Currently I have to run a "fix CRLF" task on my machine before I commit. That is not good. Keep in mind that Cygwin tools defaults to Unix line-feeds, so Eclipse has to be able to work in that environment.
Eclipse honors the line delimiter a file uses. There is no preference for configuring the default line delimiter of a new file. This is covered in PR 28669. *** This bug has been marked as a duplicate of 28669 ***