How can I get Eclipse to insert tabs instead of spaces for Java content assist?

Posted by Simon Nickerson on Stack Overflow See other posts from Stack Overflow or by Simon Nickerson
Published on 2010-04-14T10:29:18Z Indexed on 2010/04/14 10:33 UTC
Read the original article Hit count: 150

Filed under:
|

Is there any way to persuade Eclipse to use tabs instead of spaces for indenting its built-in Java content assist proposals (such as when creating an empty method which overrides a method in the parent class)?

The only setting I could find that looked relevant is in Windows/Preferences/General/Editors/Text Editors/Insert spaces for tabs, and this setting is unchecked.

At the moment I have to remember to select them and re-format with <Ctrl>+<Shift>+<F>.

© Stack Overflow or respective owner

Related posts about eclipse

Related posts about content-assist