Page 1 of 1

JavaScript formatter does not working

Posted: Thu May 07, 2015 10:16 am
by nayasis
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.

Re: JavaScript formatter does not working

Posted: Fri May 08, 2015 3:25 am
by eric_suen
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