Eclipse indent tabs with spaces not working

autoindenteclipse

I have the settings for this done correctly.

enter image description here
However for certain cases, like when I declare or initialize an anonymous class, and eclipse puts out auto-generated code, all of that is still tab-spaced. Is there a workaround to this?

Best Answer

For the Java Editor, it's controlled with/by the Java Formatter preferences. Java Editor Typing preferences Relevant section of the Formatter profile

Related Question