Braces on array initializers.

In older versions (probably 5.0) I was able to have reformat put the opening brace in an array initializer on a new line, like:

int[] a = new int[]
{
1,
2,
0x0052,
0x0053,
0x0054
};

However in the EAP it always wants to put the brace after the []

int[] a = new int[]{
1,
2,
0x0052,
0x0053,
0x0054
}

Am I missing some setting?

1 comment

This post is, probably, very old but still actual for the newest version of IDEA. Can such an option be added to the settings of IDEA?

0

Please sign in to leave a comment.