Converting line delimiters

Java editor can display Java files with various line delimiter kinds but some other external editors may not be able to handle them correctly.
You may want to change line delimiters used by your Java files.
It may also happen that a file has heterogenous line delimiters and you want to unify them.

To convert line delimiters in Java files:

  1. Open a Java file in the Java editor
  2. Select Source > Convert Line Delimiters from the menu bar
  3. Select the delimiters to which you want to convert the file (one of Windows, UNIX, Mac)