Why is Atom deleting trailing whitespace? Why is there a newline at the end of the file? Why are there all these changes in the file diff?


#1

Atom ships with the whitespace package, which by default strips trailing whitespace from lines in your file, and inserts a final trailing newline to indicate end-of-file as per the POSIX standard.

You can disable this feature by going to Settings > Packages > whitespace:

Take a look at the Whitespace section in Chapter 2.4 of the Atom Flight Manual for more information.


3 problems, help =D
Indentation on empty line going to far left