JavaScript formatter does not working

Bug Reports and Fixes
Post Reply
nayasis
Posts: 5
Joined: Mon Jan 14, 2013 2:50 pm

JavaScript formatter does not working

Post by nayasis » Thu May 07, 2015 10:16 am

Hello. I'm new commercial user of SPKET ^-^

I expect that if I become commercial user, javascript formatter of spket does work well ^-^

but it doesn't saddly.

I setting space indentation to 2 but it works always to 4. and auto-format feature (Ctrl + Shift + F ) does not work properly.

(built-in javascript formatter works well.. ^-^)

I use ecipse lunar (eclipse-jee-luna-SR2-win32-x86_64) on Windows7 OS.

May I have some help on here ? ^-^ thank you.

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

Re: JavaScript formatter does not working

Post by eric_suen » Fri May 08, 2015 3:25 am

Hi, try check following options in JavaScript Formatter: Line Wrapping -> Function Calls -> Arguments
on bottom you will find: do not indent if contains: Object Literal Function Expression
Do Same to: Function Calls -> Object allocation arguments and Expression -> Array initializers

Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests