line-ending-selector-unix

Select the line ending to use for the current editor. Defaults to Unix.

download13

2,003

1

0.0.9

MIT

GitHub

This package consumes the following services:

EDITS

Modified to use Unix line endings by default, even if you are on Windows.

Line Ending Selector Build Status

status bar tile

This is an Atom package that displays the current line ending type of a file: CRLF (Windows), LF (Unix), or Mixed (both). It also lets you change the line ending of a file.

To Use

When the package is activated it will show the current line ending of the file in the right side of the status-bar. If a new file is created the line ending will start with the system default: CRLF for Windows and LF for Mac and Linux. If a file contains both it will display Mixed.

Changing a File's Line Ending

You can click the line ending in the status-bar to open a modal with the line ending options. Selecting a different line ending will change each line of the

modal

Line Endings

Atom Commands

You can also change a file's line endings by using or cmd + shift + P searching for these commands:

line-ending-selector:convert-to-LF
line-ending-selector:convert-to-CRLF