Converting line delimiters

The Java editor can handle Java files with heterogeneous line delimiters. However other external editors or tools may not be able to handle them correctly.

If you want to change line delimiters used by your Java files:

  1. Open a Java file in the Java editor
  2. Select File > Convert Line Delimiters To from the menu bar
  3. Select the delimiters to which you want to convert the file to (one of Windows: CRLF, Unix: LF, MacOS 9: CR)

Notes:

Related concepts
Java editor

Related tasks
Using the Java editor

Related reference
Source menu