
Run the 'Inconsistent line separators' inspection to find out, which files use line separator different from project's default. If you select a directory, the new line ending style will be applied to all nested files recursively.įrom the main menu, select File | File Properties | Line Separators, and then select a line ending style from the list. Select a file or a directory in the Project tool window Alt+1. Change line separators for a file or directory

If you cannot see the line separator widget in the status bar, from the main menu, select View | Appearance | Status Bar Widgets and enable the Line Separators option. The line separator widget appears in the status bar of the IDE window when a file is open in the editor.Ĭlick the widget and select another line separator style.Īlternatively, select another ending style in File | File Properties | Line Separators.Ĭhanging the line separator style is reflected in the Local history of a file. Method 2: Open the Terminal Type below Command. Select jedit and select ‘Mark Installation’ and then Click on Apply.
#JEDIT SETUP LINE ENDINGS CODE#
Select the code style Scheme that you want to modify: the Project scheme or one of the IDE-level schemes.įrom the Line separator list, select the line separator style you want to apply.Ĭhange line separators for the current file Method 1: Open the Synaptic Package Manager, search jedit, as shown below.

To configure line separators for new projects, go to File | New Projects Setup | Settings/Preferences for New Projects | Editor | Code Style. Press Ctrl+Alt+S to open the IDE settings and select Editor | Code Style.

With IntelliJ IDEA, you can set up line separators (line endings) for newly created files, and change line separator style for existing files.
