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:
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?
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.