Sublime Forum

BUG: new empty line is added

#1

If I have:
“ensure_newline_at_eof_on_save”: true,
“trim_trailing_white_space_on_save”: true,
enabled and have at the end of file:


/no new line at end of file

saving the file will result:

/empty line here
/empty line here

EXPECTED:

/empty line here

So you must first trim spaces then check empty line at end of file.
Now you add empty line and then trim spaces. This result buggy two empty line at end of file. =)

0 Likes