js code formatter doesn't work very well in phpstorm ps-110.226 Follow
if I declare some variables like this:
var x=1,
y=2,
z=3;
after applied js code formatter, my code become:
var x=1,y=2,z=3;
which is not expected.
in olde version, I didn't have such problem.
Please sign in to leave a comment.
Have you checked the option "Keep when reformatting/Line breaks" in Settings|Code Style|JavaScript|Wrapping and Braces? If it is on, everything works as expected.
yes, it's checked, but it still doesn't work. :(
just to clarify, I use Linux version in Ubuntu 11.10
the new version 110.293 fixed this bug. thanks
Ok, great! Still, if you find anything don't hesitate to submit a bug at http://youtrack.jetbrains.com