I am trying to determine if Eclipse on Windows add control-M characters. I have not seen any setting for it in Preferences->Text Editors.
If I don’t see Control M characters using vi -b on Linux, can I conclude that control-M characters are not present when using eclipse on Windows?
I am trying to determine if Eclipse on Windows add control-M characters. I have
Share
I finally found under
Window > Preferences > General > Workspacethe next text file line delimiter preference. Default is the delimiter of the OS you are using Eclipse on, but you can change that.That means that when you now change a file (coming from Linux) under Windows, and you have not changed the default, the line end convention (of the existing file) will be kept (
New text file line delimiter), but if you create a new file, the convention of your current OS (Windows) will be used.