Eclipse Editor: How to change file format from Dos to Unix Eclipse Editor: How to change file format from Dos to Unix unix unix

Eclipse Editor: How to change file format from Dos to Unix


I don't have Eclipse installed to check, but from some searching it looks like there are two things to do.

To change the default format for new files:

Window -> Preferences -> General -> Workspace -> New text file line delimiter

To convert the file that's open:

File -> Convert Line Delimiters To -> Unix


Take look of following image for changing format:

Window -> Preferences -> General -> Workspace -> New text file line delimiter

enter image description here


This can even be done more specific, just for a single project:

Change Project > Properties > Resource : New Tex File Delimiter