26 June 2014

Eclipse Luna bug in Preferences for XML Editor

Bambitroll @ 09:59

If you are using the first release version of Eclipse 4.4 Luna, there is a bug in Windows->Preferences->XML->XML Files->Editor.

You can not change the settings for indentation size when using spaces. It is impossible to write a new number in the field and the -/+ buttons are disabled. The default value is 1! :(

The work around I found is to edit the following file in your workspace:
.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.wst.xml.core.prefs

And add the following line (if you want 4 char for your indentation):
indentationSize=4


6 Response to "Eclipse Luna bug in Preferences for XML Editor"

  1. Anonymous said...

    Thank you for this workaround.

  2. Unknown said...

    Thanks very much, this has been annoying me too :-)

  3. Anonymous said...

    Also, I found out that (at least in Mars) you can change the value using your mouse scrollwheel inside the input field.

  4. Unknown said...

    Thaaaaaaaaaaaanks very much..!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

  5. Ondra Chaloupka said...

    Thanks!

  6. Volodia Krupach said...

    Thank you!!!

Post a Comment