3

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?

deostroll
  • 1,795
  • 7
  • 24
  • 37

1 Answers1

3

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

nitind
  • 261
  • 1
  • 4
  • 1
    I'm not sure why there would be a general offer of 'insert spaces for tabs' yet not respect it. – Queso May 06 '16 at 14:48
  • Thanks. I couldn't modify the built-in profile, so first I had to create my own. Luckily, you can copy a built-in profile and then customize it. – Jabba Oct 09 '16 at 09:43