Spket formatter bug: Insert newline at end of file

Bug Reports and Fixes
Post Reply
qwikso
Posts: 2
Joined: Wed Jan 25, 2012 9:43 am

Spket formatter bug: Insert newline at end of file

Post by qwikso » Wed Jan 25, 2012 10:07 am

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

eric_suen
Site Admin
Posts: 678
Joined: Wed Sep 28, 2005 7:00 am
Contact:

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

Post by eric_suen » Wed Jan 25, 2012 8:16 pm

thanks for report this bug, will fix it as soon as possible.

eric_suen
Site Admin
Posts: 678
Joined: Wed Sep 28, 2005 7:00 am
Contact:

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

Post by eric_suen » Thu Jan 26, 2012 7:38 am

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

qwikso
Posts: 2
Joined: Wed Jan 25, 2012 9:43 am

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

Post by qwikso » Mon Jan 30, 2012 3:04 pm

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

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests