I am using zend studio IDE to write code.
I use code formatter to format my code. Most of code is formatted by code formatter but not all.
What I want,
$is_admin = $this->logged_user->isAdmin();
should format in same way like
$is_admin = $this->logged_user->isAdmin();
not like
$is_admin = $this->logged_user
->isAdmin();
Any idea?
Zend Studio 11.0
Window -> Preferences -> PHP -> Code Style -> Formatter -> (button) Edit -> (tab) New Lines:
Insert new line after method invocation, when chaining at least: 0
Wilwor ;)
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.