I am using eclipse on mac to do my java coding.
Now i need to open a .java file that was created with mac eclipse and open it in a Windows notepad.
However all the carriage return/ newline formatting is gone.
Is there a way where I can retain all the formatting?
Windows notepad is not able to display linebreaks other than the ones used in Windows (CR+LF, Unix-Systems use LF only). If you have to open it in a built-in Editor like Notepad, try WordPad.