how to align text to specific character in phpstorm or webstorm?

Cmd+Alt+L (in Mac) or Ctrl+Alt+L (Win) and PHP Storm will format code depends of your Code style in Settings. TO set this code style go:
File -> Settings -> Code style -> PHP(choose here your language) -> Other -> Align key-value pair – mark as checked. And then press Reformat code (Ctrl+Alt+L) and voila. You will get code, styled you write above.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)