Page 1 of 1

Spket formatter bug: Insert newline at end of file

Posted: Wed Jan 25, 2012 10:07 am
by qwikso
Hi,
I've just found out this formatting feature is not working in Spket Eclipse formatter, however it works well in a standard Javascript Eclipse formatter. Is it already fixed in some of the Spket last versions? This bug is for us critical, since we are using ExtJS and a final merged file can bring unexpected behavior (because of missing semicolon or comment at the last line, which comments out the first line of the next file in a sequence). I would like to use this guard for new lines at the end of file.

Details
----------------
Eclipse: 3.7 (Window->Preferences->Spket->Editors->Javascript Editor->Formatter->Edit...->New Lines->at end of file)
Spket:1.6.18

Best regards
qwikso

Re: Spket formatter bug: Insert newline at end of file

Posted: Wed Jan 25, 2012 8:16 pm
by eric_suen
thanks for report this bug, will fix it as soon as possible.

Re: Spket formatter bug: Insert newline at end of file

Posted: Thu Jan 26, 2012 7:38 am
by eric_suen
here is quick fix for 1.6.22, download and replace the old one

http://www.agpad.com/downloads/com.spket.js_1.6.22.jar

Re: Spket formatter bug: Insert newline at end of file

Posted: Mon Jan 30, 2012 3:04 pm
by qwikso
Thank you for your quick reply and unbelievable quick patch. Today I upgraded the Spket plugin and the bug is fixed.

Really good job!
Best regards
qwikso