$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?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
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.