I'm moving my project from Zend Studio 5 to 9.
Zend 9 ruins my indentation. Previously my code was formatted to have a tab be two spaces. Now Zend is using four spaces and some lines are indented further than before.
Before:
$a=1;
$b=1;
$c=1;
for ($i=0; $i<10; $i++)
{
echo "test";
}
Now
$a=1;
$b=1;
$c=1;
for ($i=0; $i<10; $i++)
{
echo "test";
}
I've tried setting the tab policy to "spaces" and the indentation size to "2". But that doesn't work.
I fixed it by setting Displayed tab width to "2".
This is on the page: General > Editors > Text Editors