javascript object formatting
Hello, sorry if it is trivial but i don't find how to reformat
var obj = {
f : 1,
A:1,
b : 1 ,
c : 1,
r : 5
}
to
var obj = {
f : 1,
A : 1,
b : 1,
c : 1,
r : 5
}
Please sign in to leave a comment.
You are right - that should be trivial.
However I think there's no such option in IDEA right now.
Strangely JS formatting is kind of underdeveloped in IDEA.
If you file a Youtrack issue, I'll vote for it:
http://youtrack.jetbrains.net/dashboard/IDEA#tab=0
-- Stephen
On 14.05.2011 20:25, jfa src wrote:
>
>
>
>
Done ;)
http://youtrack.jetbrains.net/issue/IDEA-69680?projectKey=IDEA