F
F
Flying2012-04-06 12:14:54
Eclipse
Flying, 2012-04-06 12:14:54

Tab stops in Eclipse editor?

I recently upgraded from Zend Studio 7 to Zend Studio 9 and ran into an annoying feature of the editor: tab stops stopped working in it.
Let me explain: Let's say in the editor settings there is a tab width of 4 characters. Then, if I put the cursor on the 2nd character in the line (i.e. 1 space to the left of the cursor) and press the Tab key, then I expect the cursor to move to the next tab stop (in this case, to the 4th character) . Zend Studio 7 did just that, but in Zend Studio 9 the cursor moves to the width of the tab (4 characters), i.e. rises to the 5th character. Because of this, formatting indents becomes a much more expensive operation.
Actually the question is: where to tweak to return the previous behavior? Is this a bug or is there a plugin needed? I did not find anything in the settings about this.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
M
Max, 2012-04-06
@7workers

I confirm that the 8th is behaving "as it should." But in the settings I did not find anything like that. I asked a friend to test it in 9m - his tabs also behave normally (like mine), so something is wrong with your particular Zand. Did you accidentally leave a folder with settings from 7ki? try uninstalling and reinstalling.

F
Flying, 2012-04-07
@Flying

Thanks for the tip, I solved the problem. Solution:
Open file in workspace:

.metadata\.plugins\org.eclipse.core.runtime\.settings\org.eclipse.php.core.prefs

remove the line in it:
org.eclipse.php.core.phpForamtterUseTabs=false

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question