Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

PhpStorm is not wrapping long lines

I have reinstalled PHPStorm and adjusted the wrapping and right margin but seems it's not working what's it I'm missing?

enter image description here

enter image description here

enter image description here

like image 225
PHP User Avatar asked Oct 28 '25 10:10

PHP User


1 Answers

You need to fix your Soft Wrap settings. From what I see from your first screenshot you have made an error in the list of "wrap by default" extensions: they should be separated by the semicolon ; but I see a comma , there: ... ; *.adoc, *.php.

P.S. If you do not care about specific extensions / or to enable Soft Wraps by default for ALL files, just enter * in that field.


Side note: You can always manually enable soft warping for the current file via Main Menu | View | Active Editor | Soft Wrap (should also be accessible via gutter context menu: the area where line numbers are)

like image 153
LazyOne Avatar answered Oct 30 '25 14:10

LazyOne



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!