Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 36177 - Eclipse is not respecting the line feed standard of my files
Summary: Eclipse is not respecting the line feed standard of my files
Status: RESOLVED DUPLICATE of bug 28669
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Text (show other bugs)
Version: 2.1   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-Text-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-04-07 22:01 EDT by Berin Loritsch CLA
Modified: 2003-04-09 09:37 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Berin Loritsch CLA 2003-04-07 22:01:04 EDT
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.
Comment 1 Kai-Uwe Maetzel CLA 2003-04-09 09:37:06 EDT
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 ***