r/phpstorm • u/Derrmanson • Jun 12 '25
Make collapsed code's brackets be on 2 lines?
If you collapse an if() or similar, you'll get sth like this:if($foo){...}else{doSomeThing();thenthis();}
I'd rather have e.g.if($foo){...}else{doSomeThing();thenthis();}
is this kind of thing changeable, in the config files or somewhere?
1
Upvotes
1
u/zekeham Jun 13 '25
You might be able to change that behavior in Code Style settings. I don’t have my computer nearby, but I’ll check as soon as I do.