Zend Studio 9 tabbing with new line

こ雲淡風輕ζ 提交于 2019-12-22 08:09:47

问题


$arr = array(
        );

It looks like this when i press enter for a new line when I'm defining an array. It is always 2 tabs instead of 1. I didn't have this problem in Zend Studio 8. Any ideas how to fix this?


回答1:


Windows

Window > Preferences > PHP > Code Style > Formatter > Edit... > Line Wrapping

Set Default indentation for array initializers to 0.

Mac

Zend Studio > Preferences > PHP > Code Style > Formatter > Edit... > Line Wrapping

Set Default indentation for array initializers to 0.



来源:https://stackoverflow.com/questions/10036550/zend-studio-9-tabbing-with-new-line

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!