Settings PHP code style: Left Aligned inline-comments after the PHP-commands

Hello!

How can I set the editor code style in PhpStorm so that all the inline-comments are aligned left after the PHP-commands like here: 

<?php

echo '1'; // comment 1
echo '22222'; // comment 2
echo '33'; // comment 3
0
6 comments
Avatar
Permanently deleted user

Thank you,

But I have the Phpstorm Version 2019.1.1  build on April 17 2019

and there is no the line with Comment Align

  (see the picture attached).

0

Oh - apologies - perhaps it hasn't been released yet. I'm using an older version myself.

This screenshot was from the linked issue: https://youtrack.jetbrains.com/issue/WI-22991

0

Ticket says fixed for 2019.2 (build 192.xxx).

Latest PhpStorm is only build 191.xxx

1
Avatar
Permanently deleted user

Thanks! 

0

Please sign in to leave a comment.