Comma-first style
Hi! I would like to propose integrate "comma-first" style into auto reformat source code. Example like this:
$data = array("a" => "ape", "b" => "bat", "c" => "cat", "d" => "dog", "e" => "elf", "f" => "fly");
It's very easy and visibility code style. Of course it's only my subjective opinion. More example and information you can find here
It would be great to integrate comma-first style into PhpStorm!
Please sign in to leave a comment.
Check already existing issue on tracker:
http://youtrack.jetbrains.com/issue/WEB-1384 .
See http://intellij-support.jetbrains.com/entries/23368682 if you are not familiar with YouTrack.
This ticket is for JavaScript only while OP needs it for PHP.
Since there is a "ticket per language" rule in place a new (but very similar) Feature Request ticket is required to be created in http://youtrack.jetbrains.com/issues/WI for PHP.
Man this was 10 years ago and they still haven't added it? Come on, webstorm team.