【发布时间】:2015-10-23 04:26:49
【问题描述】:
我的eclipse版本是Mars Release (4.5.0)。Preferences->XML->XML Files->Editor,我无法设置Indentation size的值。 “+”和“-”不能点击。我还不能输入值!
【问题讨论】:
-
这也适用于 STS-3.7.2
标签: xml eclipse indentation
我的eclipse版本是Mars Release (4.5.0)。Preferences->XML->XML Files->Editor,我无法设置Indentation size的值。 “+”和“-”不能点击。我还不能输入值!
【问题讨论】:
标签: xml eclipse indentation
遇到同样的问题,我找到了以下解决方法:
【讨论】:
这是 Eclipse 中的一个已知错误。 GTK3相关:https://bugs.eclipse.org/bugs/show_bug.cgi?id=428246
最初是在 2014 年初为 Kepler 版本报道的。
【讨论】:
除了 Kollgandren 的回答之外,如果您想使用空格作为缩进,请在 ${WORKSPACE}/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.wst.xml.core.prefs 文件中包含两个选项。
indentationChar=space
indentationSize=4
【讨论】: