E
E
EVOSandru62015-08-17 06:35:37
phpstorm
EVOSandru6, 2015-08-17 06:35:37

Is it possible to configure ctrl+alt+l in php storm to wrap the opening brace to a new line?

Good afternoon,
How can I make it so that when you click on the ctrl + alt + l combination, it doesn’t work:

class Simple{
     function simple{

    }
}

a:
class Simple
{
     function simple
     {

    }
}

That is, curly braces must be wrapped.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexey Ukolov, 2015-08-17
@EVOSandru6

Settings -> Editor -> Code Style -> PHP -> Wrapping and Braces -> Braces Placement
UZ5x8RGtYjbznlD8SNdEQ3w7mA3QqjDf-AtIyW53

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question