|
|
|
Re: Why do i get tabs instead of 4 spaces when auto indention takes place on hitting ENTER? [message #511899 is a reply to message #511874] |
Wed, 03 February 2010 10:55 |
Eclipse User |
|
|
|
Originally posted by: christian.wolf.sedo.de
Hi Daniela,
I tried to reproduce that behaviour and found a way:
if I simply set the "Window > Preferences > General > Editors > Text
Editors > Insert spaces for tabs" option, I get the exact behaviour you
described.
However, if I wanted to switch from tab to space indentation, I first
navigated to "Window > Preferences > PHP > Code Style > Formatter",
setting "Tab policy" and "Indentation size" accordingly. After setting
these options, hitting both "tab" and "enter" insert spaces instead of
tabs in every situation.
Perhaps this configuration helps you, too,
best
Christian A. Wolf
Daniela Waranie schrieb:
> Hi all,
>
> another example (but about replacing tab whitespaces):
> http://pastie.org/807288
>
> Can you confirm this bug or is it a misconfiguration?
>
> Best regards
> Daniela Waranie
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03745 seconds