Community
Participate
Working Groups
Converting tabs to spaces is a very common setting for most programming teams (it eliminates any ambiguity about how many spaces a tab should be on what platform). To achieve tab expansion under eclipse is rediculously difficult compared to other IDEs. In Eclipse to set 'insert 4 spaces for each tab key pressed and leave real tabs (CTRLI) at 8 spaces' requires the following settings: Java->Editor->Appearance->Tab Width = 8 Java->Editor->Typing->Insert Spaces for Tabs = on Java->CodeFormatter->Style->Number of spaces representing an indentation level = 4 Java->CodeFormatter->Style->Insert tabs for indentation not spaces = off It would be nice if there were just two global options 'Tab Size' (Number) and 'Insert Spaces instead of Tabs' (on/off) and were respected by the code formatter as well as other editors.
Move to JDT/UI since this is related to changes in the preferences pages.
*** This bug has been marked as a duplicate of 19036 ***