The Aptana JS formatter handles this fine:
but it formats this:
(the formatting not only removes the line break after the opening brace (shown here), but it also adds one line break added above and two below the block (not shown here)).
I can't find any formatter settings that change this. The correct behavior here would be to leave the code as it is. Any suggestions?