Reputation: 51681
I'm using Galileo, and I've gone:
Preferences -> General -> Editors -> Text Editors -> Spaces for tabs
but the editor still inserts real tabs when I press the TAB key. This is driving me crazy. How do I force eclipse to put in spaces for tabs? I'm editing Java files.
Thanks
Upvotes: 6
Views: 2797
Reputation: 1416
Go to Preferences -> Java -> Code Style -> Formatter. Click edit next to your active profile. Change your tab policy to Spaces Only
Upvotes: 2
Reputation: 401182
What about :
Upvotes: 12