This needs the AnyEdit plugin installed on Eclipse.
The simple steps are:
- first select the file or folders in question in the Navigator or in my case PHP Explorer
- navigate to File -> Convert Line Delimiters To -> Unix (LF, \n, 0A), in the popup window, choose the files/directories you need to fix
- press ok, and it will be fixed