Community
Participate
Working Groups
Since 2.1 M4, auto-indentation in the JDT editor appears to have broken. I desire hard tabs to be 8, but indentation to be 4. I had it working this way prior to M4, but now auto-indentation is 8. Perhaps this is a repeat of bug 28454, but it isn't clear. The preference settings for tabs and indentation are confusing. I have the "Displayed tab width" preference set to 8 (from Java/Editor/Appearance preference page). In the Code Formatter/Style preference, I have "Indentation represented by a tab" unchecked and "Number of spaces representing a tab" set to 4. Therefore, I expect auto-indentation to be 4, while hard tabs are 8. If I am misunderstanding the preference settings, could someone explain how I can get the desired behavior restored for M4?
*** This bug has been marked as a duplicate of 28454 ***