new line not aligned correctly

Hello everybody, i'm new to phpStorm. 
When i write php code, and press enter, the keyb. cursor returns to the beggining of row.

example :


     $x = 10;
on enter, my next code will begin like this.


Can u help me to fix that?
Thanks in advance, and sorry for my bad English :)

1 comment
Vladimir Luchansky
Comment actions Permalink


Sorry, forum formatting is not the best.

Could you attach a screenshot or a video with the issue, please?

Just in case, all line alignments and many other formatting options are configurable in File | Settings (or PhpStorm | Preferences for Mac OS X) | Editor | Code Style | PHP.


Please sign in to leave a comment.