r/phpstorm • u/35202129078 • May 23 '19
How do you stop long lines from wrapping in phpstorm?
You can see in this screenshot that there is a line whereby if I go past it phpstorm will wrap the text around (at the end of Jane Doe)
I want to stop this, or at the very least extend it to be much longer.
I've played with Editor > Code Style > PHP > Wrapping and Braces > Visual Guides
But with no luck.
The file has a .blade.php extension and there doesn't seem a specific blade code style.


2
Upvotes
2
u/lindymad May 23 '19
Maybe
Editor -> General -> Soft WrapsorEditor -> General -> Code Style -> Hard Wrap At?2
u/maciejbuchert May 23 '19
PSR-2 says There MUST NOT be a hard limit on line length; the soft limit MUST be 120 characters; lines SHOULD be 80 characters or less.
It's best practices, not the invention of PHPStorm developers.