Community
Participate
Working Groups
Created attachment 255143 [details] Workspace with the described formatter settings Migrating from Eclipse Luna to Eclipse Mars, previously working formatter settings with "Tab size" set to 2, now lose the first level of indentation. Steps to reproduce: - Clone the eclipse formatter settings. - Edit the formatter settings. - Set the "Tab policy" to "Tabs only", and the "Tab size" to "2". - Run the formatter on a method body indented with using tabs. I've attached a workspace, where Example.java shows this effect.
Duplicate of bug 467229. Workaround: change tab policy so that you can edit both tab size and indentation size, change both to desired value, switch tab policy back to tabs.
Sorry. I was unable to find the previous bug report. Thanks Mateusz. *** This bug has been marked as a duplicate of bug 467229 ***
Verified for 4.5.1 using M20150819-1000 build