Configuring Line Separators
With RubyMine, you can set up line separators (line endings) for the newly created files, and change line separator style for the existing files.
Set up line separators for new files
In Settings, go to.
From the Line separator list, select the desired line separator style.
View line ending style for the current file
Change line separator for a file currently opened in the editor
Change line separator for a file or directory selected in the Project view
- Select a file or directory in the Project Tool Window.
Note that if a directory is selected, the line ending style applies to all nested files recursively.
On the main menu, go to, and then select the desired line ending style from the list.