It's our policy to use spaces instead of tabs. There are quite some postings for this topic but the following hasn't been answered yet. I use the following settings:
- General > Editors > Text Editors. Check “Insert spaces for tabs”
- Java > Code Style > Formatter. Create a new profile. Go to the Indentation tab and set “Tab policy” to “Spaces only”
- Ant > Editor > Formatter. Uncheck "Use tab character instead of spaces"
Yet, Eclipse still uses tabs in .project files. If that can be prevented, how?