سؤال

I'm using Zend Studio 9 and have a trouble with outdent (Shift+Tab). It works only if left of the begin of the line is a tab:

[tab]return array();

but doesn't work for the spaces:

[space][space][space][space]return array();

Does someone have a solution for ZS 9 for this problem?

Thx

هل كانت مفيدة؟

المحلول

Try change Zend Studio tab policy to spaces

Window -> Preferences -> PHP -> Code Style -> Formatter

enter image description here

enter image description here

نصائح أخرى

You have to have a selection on the line, and then it should work. It also works if the selection is on more than one line.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top