PHPStorm 9 align assignments in PHP -


after many searches, seems don't have option align consecutive assignments of variables in php. can align key/value pairs in arrays, that's it.

it seems older phpstorm versions have it.

is possible in phpstorm 9 ? if so, how ? if not, better older versions ? started using (coming sublime).

this example of non formatted code :

$sexample = 'example !'; $sanotheronehere = 'again ?'; $sandthelast = 'enough !'; 

and that's format result :

$sexample        = 'example !'; $sanotheronehere = 'again ?'; $sandthelast     = 'enough !'; 

the option still there , works flawlessly.

search under editor -> code style -> php -> wrapping , braces -> assignment statement. it's called "align consecutive assignments".


Comments