Automatic indentation when you open a block in Zend Studio

Searched in settings but never found. Can Zend Studio for Eclipse to do automatic indentation when you open a new block? Very used to this in the previous editor. Example:

if (true)<br> {<br> ....return;<br> }

After entering the opening brace and pressing enter, the cursor moves to the next line, the editor automatically puts a closing parenthesis line below. After that you have to press tab to make the obvious indentation (before the return statement in the example). Can I configure the Studio so that the indent is also set automatically?
October 14th 19 at 11:36
1 answer
October 14th 19 at 11:38
On 7.2.1 Studio default and indented (just checked).
This is configured here:
Window -> Preferences -> PHP -> Code Style -> Formatter -> choose profile -> Show.
Tab Indentation. There daws where it is necessary to put (all except the last one by default).

PS By the way, I advise you to take a look at phpStorm as an alternative to Zend. I went — no regrets.
how can you use phpStorm's Settings there's hell to disassemble, I found from the 10th times to enable the transfer of {, but still full of bugs (from this is annoying when you write namespace ..; then all the code after it will be shifted by 4 spaces). It is better to netbeans, which is free. - Demetrius.Bednar commented on October 14th 19 at 11:41
Very easy: Ctrl+Alt+S -> Enter 1-2 words, the most suitable for the required set up and admire, he not only will be left in the configuration tree essential elements, but also highlight the fields found on the form itself. This is also in Zend Studio, but phpstorm is sold a cut above.
And about bugs — it's true. Their is quite a lot, although nothing critical I for about a month of use not noticed. - Winnifred25 commented on October 14th 19 at 11:44
... and the namespace I have no bug (1.0.2 version). - Winnifred25 commented on October 14th 19 at 11:47

Find more questions by tags Zend FrameworkEclipsePHP