Sublime Forum

[Bug] "ensure_newline_at_eof_on_save" option not honored

#1

Product: SublimeText 3 b3021
Platform: MacOSX 10.8.3

Description Of The Issue:
It seams that ST3 doesn’t follow the directive of the “ensure_newline_at_eof_on_save” option.
Even if enabled, no new line is appended at the end of the file.

How To Reproduce:
Open the Preferences.sublime-settings file, and paste

"ensure_newline_at_eof_on_save": true,

Open a new file, add the text “Hello World.” without an empty line at the end, save.

What Is The Expected Result:
Saving, after the “Hello World.” string, should be added automatically a new empty line.

What is The Current Result:
Saving, after the “Hello World.” string, no new line is added.

0 Likes

Ensure new line at end of file on save setting is not being honored
#2

This is my “Preferences.sublime-settings” file.

{}
0 Likes