"Soft wrap in editor" work somewhat diffrent that I expect
Hi,
In my PHPStorm 8.0.1 "Soft wrap in editor" work somewhat diffrent that I expect.
My settings:
[URL=http://www.radikal.ru][IMG]http://s019.radikal.ru/i641/1409/79/744385a57f51.png[/IMG][/URL]
If in my editor there line with length near "Right margin columns" value :
[URL=http://www.radikal.ru][IMG]http://i008.radikal.ru/1409/80/e028280ba421.png[/IMG][/URL]
If I add several space before last parameter in function I got next:
[URL=http://www.radikal.ru][IMG]http://s020.radikal.ru/i715/1409/9b/5a1215ad04eb.png[/IMG][/URL]
But I expected that line would be "wrapped softly", I mean that there woul be not new line created,
but wrapped code started from left and at left margin of editor there would be mark that this line was "softly wrapped".
请先登录再写评论。
Hi there,
Possibly you have "Wrap when typing reaches right margin" option enabled .. or some another option from code style (which will wrap long lines into actual separate lines).
If I set "Wrap when typing reaches right margin" = Off then wrapping does not work at all,
and I do not see any option from code style group. which options could be related?
Isn't this is what you want to have?
No idea.
I have the aforementioned option turned off; plus I do not have any code style options set to wrap/chop etc -- I always making them manually.
I'm not affected by this issue at all and cannot tell you exact settings that would help you (especially since I have no clue at all what settings you have got there). You will have to dig trough it yourself. To start with -- try setting code style to "Default" and see how it will behaves there.
I tried set to default but it did not help.
Actually I would like to work "soft wrap" like in image below
[URL=http://www.radikal.ru][IMG]http://s004.radikal.ru/i207/1410/ca/883d2e0c265f.png[/IMG][/URL]
when line 341 is not wrapped into 2 lines, but is shown from next line with sign that shows "that is 1 line from prior line"
That's exactly how soft wrap works: if it is enabled and line is longer than editor it will be shown on multiple lines (while physically remains the same one long line).
Just make your editor window smaller and see that it will work for all lines.