Is it possible to change code style placement the last ) of an array() statement when it's on a new line?

Since a picture is worth 1000 words take a look at the screenshot.

In the Code Style -> PHP -> Array inititilzer there are a bunch of alignment options.  I'm looking for a way to change where the last ) of an array is positioned on a code reformat.

This is close, but not quite, what I want:

  $count = 10;
  $x     = array("x", "y",
                 array(1 => "abc",
                       2 => "def",
                       3 => "ghi"
                 )
  );

This would be an option of what I'd want to have as the code style

  $count = 10;
  $x     = array("x", "y",
                 array(1 => "abc",
                       2 => "def",
                       3 => "ghi"
                 )
           );

This is my prefered option (but I'll take the first if I can get it):

  $count = 10;
  $x     = array("x", "y",
                 array(1 => "abc",
                       2 => "def",
                       3 => "ghi"
                       )
                 );

I've looked all over the editor but can't seem to find it.  Is there something I'm missing, or do I need to make a change request to get the options?



Attachment(s):
Screenshot.png
1 comment
Comment actions Permalink

Please vote/comment for the issue in our tracking system to increase it's priority and be notified about updates:
https://youtrack.jetbrains.com/issue/WI-23573

0

Please sign in to leave a comment.