Zend Studio 9 tabbing with new line

Go To StackoverFlow.com

4

$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?

2012-04-05 21:52
by brasimon


5

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.

2012-04-08 10:28
by Liyali
Ads