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:
-
Open a Java file in the Java editor
-
Select Source > Convert Line Delimiters from the menu bar
- Select the delimiters to which you want to convert the file (one of Windows,
UNIX, Mac)