Community
Participate
Working Groups
build: eclipse-SDK-I20050104-1600-win32 The "Use tab character" preference is not initialized probably. testcase: - start Eclispe with a new workspace - open a Java file in the Java Editor - format the Java file - tabs are used for indentations although the build-in Java Conventions Formatter profile has the "Use tab character" preference unchecked - switch to the "Eclipse 2.1" Formatter profile and switch back to the "Java Conventions" Formatter profile - format the Java file again - now spaces are used for indentations
Moving to JDT/Core first since the user didn't change the settings and the profiles are built-in profiles provided by JDT/Core.
*** Bug 84297 has been marked as a duplicate of this bug. ***
Frédéric, Have a look at at the comment in bug 84297 comment 7. It explains why we have a difference between the code preferences and the UI settings.
Note that if you get rid of those two lines (as suggested in bug 84297 comment 7) the default values will be changed, which will not only affect fresh installs, put possibly also people with formatter settings that happen to set the tab width value to the same as the default!
Unfortunately, defer post 3.1
Reopen as it seems to be necessary to fix this issue for 3.1
*** This bug has been marked as a duplicate of 89739 ***
closing resolved bug