I've migrated from Zend Studio 7.1.2 to 9.0.3 and found that it have pretty nasty problem when trying to format code using spaces as indentation symbol: when you're trying to use Tab/Shift+Tab to (un)indent current line - PHP editor doesn't respect "tab stops". For example:
Code: Select all
.|$a = 1;
General -> Editors -> Text Editors -> Displayed tab width: 4
General -> Editors -> Text Editors -> Insert spaces for tabs: true
If in this situation I press Tab - I expect to get this:
Code: Select all
....|$a = 1; <-- Code get moved to next tab stop (position 4)
Code: Select all
.....|$a = 1; <-- Code is moved by tab width (position 5)
PHP formatter preferences (if it doesn't defined to use tabs for indentation instead of spaces) doesn't seems to have sense.
CSS/JS/XML/HTML/Text editors are not affected, but PHP editor does.