Home Download Buy Blog Forum Support

BUG: new empty line is added

BUG: new empty line is added

Postby KES on Thu Aug 16, 2012 7:36 am

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:
<some code here>
<space><space><space><space><space>
/no new line at end of file

saving the file will result:
<some code here>
/empty line here
/empty line here

EXPECTED:
<some code here>
/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. =)
KES
 
Posts: 41
Joined: Sun Aug 05, 2012 12:13 pm

Return to Technical Support

Who is online

Users browsing this forum: Yahoo [Bot] and 37 guests