How to change file format from Windows to Unix

eclipse, editor, unix

Solution

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`

Problem

I am using the Eclipse code editor to work on my remote files. It appears that Eclipse is set to dos/Windows file format. I do not know how to find the file format set in Eclipse, but I want it to be set to Unix file format. How can I set the file format to Unix in Eclipse? Similar Question to set file format in VIM

Original source

Related problems