How do I stop wrapping code when reformat code in phpstorm?

ide, phpstorm

Solution

See under Preferences > Code Style, where you can tweak by language.

Also check the settings under Preferences > Code Style > General (affects all languages):

Problem

If my code reaches the right magin and I reformat code (Ctrl + Alt + L), PHPStorm automatically wrap code. How do I stop this (reformatting code with wrapping)? I'm working with php and other languages for web development

Original source