[Formatter] Align array elements

Answered

Just a shot in the dark, but is there a way to make the Java code style formatter align array elements like this?

private static final byte[] BLANK_VERSIONS   = { 0,  0,  0,  0,  0,  0,  0,  0,  0}; // 3x packed version 0x000000
private static final byte[] UNKNOWN_VERSIONS = {-1, -1, -1, -1, -1, -1, -1, -1, -1}; // 3x packed version 0xFFFFFF

or alternatively,

private static final byte[] BLANK_VERSIONS   = {0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 }; // 3x packed version 0x000000
private static final byte[] UNKNOWN_VERSIONS = {-1, -1, -1, -1, -1, -1, -1, -1, -1}; // 3x packed version 0xFFFFFF
0
1 comment

The question regarding this feature has been raised several days ago and continues right now. 

Here is a related issue on YouTrack:

https://youtrack.jetbrains.com/issue/IDEA-220459

Feel free to watch it in order to be notified once it has updates. See this article if you are not familiar with YouTrack.

0

Please sign in to leave a comment.