Community
Participate
Working Groups
Would be nice have an option like "Never join already wrapped lines" in PDT formatter like there's in JDT, 'cause sometimes I want keep short arrays inline like $a = ['a' => 1, 'b' => 2, 'c' => 3]; and sometimes long arrays like $a = [ 'a' => 1, 'b' => 2, 'c' => 3, ... ];
I would certainly love to see this for the case you used as example. Issue #462711 discusses the case of concat strings. Note that as discussed there, this is possible (in a sense) using @formatter:off/on. I opened ticket #479461 about confusion in the profile dialog.
*** Bug 529215 has been marked as a duplicate of this bug. ***