My eclipse version is Mars Release (4.5.0).Preferences->XML->XML Files->Editor,I can not set the value of Indentation size. The "+" and "-" can not be clicked . I can not input value yet!
3 Answers
Had the same problem, I found the following workaround:
- open with a text editor this file in your workspace folder: .metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.wst.xml.core.prefs
- change or add the following line ("4" is just an example): indentationSize=4
- (Re)start Eclipse
3 Comments
user3104619
According to this method ,I have solved the problem .Thanks!+1
Dave Moten
If the file isn't there just change the max line length and apply in Eclipse and the file will be created. Thanks!
Manfred Moser
Seems to be due to a bug that is not yet fixed/released. See more at bugs.eclipse.org/bugs/show_bug.cgi?id=428246
This is a known bug in Eclipse. It is related to GTK3: https://bugs.eclipse.org/bugs/show_bug.cgi?id=428246
It was originally reported in early 2014 for the Kepler release.