Set Eclipse to Use Spaces Instead of Tabs
Posted in post on August 1st, 2010 by Aditya – Be the first to commentThis is how to change Eclipse to use spaces. Note that the default general text editor is used for many non-Java editors in Eclipse. It is just weird they need to put it on separate screen.
For general editor
Window->Preferences->General->Editors->Text Editors->Insert spaces for tabs
For Java only configuration
Window->Preferences->Java->Code Style->Formatter->Edit->Indentation = “Spaces Only”