Answer the question
In order to leave comments, you need to log in
Auto indent when block is opened in Zend Studio?
I searched for a long time in the settings, but did not find it. Can Zend Studio for Eclipse auto indent when opening a new block? Very used to it in the previous editor. Example:
if (true)<br/>
{<br/>
....return;<br/>
}
Answer the question
In order to leave comments, you need to log in
On 7.2.1 studios, by default, this is how it is indented (I just checked it myself).
It is configured here:
Window -> Preferences -> PHP -> Code Style -> Formatter -> choose a profile -> Show.
Indentation tab. There you put daws where you need to (everywhere except for the last one by default).
PS By the way, I advise you to look at phpStorm as an alternative to zend. I switched to it - I do not regret it.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question