Why Soft Wrap works different I expected?

In PhpStorm 2017.2.4 I have next Soft Wrap options https://imgur.com/a/jFE4qB0
but it works different I expected. Having long text : https://imgur.com/a/lzYNYzj
when I press “space” key part of the long string is moved to NEW line (line 39) https://imgur.com/a/7pKDZJe, but I expected
that would ve no new line, but soft wrap.
Are some my options wrong ?


Comment actions Permalink

Hi there,

That must be some form of auto-formatting in place. Would need to see your Code Style settings.

Could be HTML formatting rules ... or perhaps just "wrap on typing" option (more likely, based on your description so far).

Comment actions Permalink

That is my Code Style settings and
I have "wrap on typing" option on
but I did not find any “Could be HTML formatting rules” Is it my PhpStorm 2017.2.4 ?

Comment actions Permalink

>I have "wrap on typing" option on

So disable it and try again.


>but I did not find any “Could be HTML formatting rules”

"Settings/Preferences | Editor | Code Style | HTML" -- check there


Please sign in to leave a comment.