I know how to change the font of "Java editor" in Eclipse in menu Windows → Preferences → Appearance → Colors and Fonts, but I could not find an option for changing the font of "layout editor" for files like myLayout.xml or strings.xml.
我知道如何更改字体Eclipse的Java编辑器”窗口菜单→设置→→外观颜色和字体,但我找不到一个选择改变“布局编辑器”的字体文件像myLayout。xml或strings.xml。
Where is it?
在哪里?
3 个解决方案
#1
76
Use menu Windows → Preferences → Appearance → Colors and Fonts → Basic → Text Font. This is a common text font setting that is applied to XML file editors by default.
使用菜单窗口→设置→→→外观颜色和字体基本→文本字体。这是一个通用的文本字体设置,默认情况下应用于XML文件编辑器。
I also found this message.
我也发现了这个信息。
#2
4
For my Eclipse v4.4 (Luna) installation, the XML editor font size is changed under:
对于我的Eclipse v4.4 (Luna)安装,XML编辑器字体大小更改为:
Menu Window → Preferences → General → Appearance → Colors and Fonts → Structured Text Editors → Structured Text Editor Text Font.
窗口菜单→设置→一般→→→外观颜色和字体结构化文本编辑器→结构化文本字体的文本编辑器。
#3
1
I had to expand General to get to Appearance... I figured it out in about 3.2 seconds, but just in case anyone wants to save that 3.2 seconds:
我不得不扩展到外观……我用了3。2秒就算出来了,但万一有人想省下3。2秒:
Windows-> General -> Preferences-> Appearance-> Colors and Fonts-> Basic -> TextFont -> Edit...
>通用->偏好->外观->颜色和字体->基础-> TextFont ->编辑…
This is in Eclipse IDE for Android Developers v23.0.2. I'm pretty sure this changes all font sizes for everything in the editor.. ? But I'm assuming if you want XML font to be bigger, you want all files to be that font size.
这是针对Android开发者v23.0.2的Eclipse IDE。我很确定这将改变编辑器中所有字体的大小。吗?但是我假设如果你想要XML字体更大,你想要所有的文件都是那样的字体大小。
#1
76
Use menu Windows → Preferences → Appearance → Colors and Fonts → Basic → Text Font. This is a common text font setting that is applied to XML file editors by default.
使用菜单窗口→设置→→→外观颜色和字体基本→文本字体。这是一个通用的文本字体设置,默认情况下应用于XML文件编辑器。
I also found this message.
我也发现了这个信息。
#2
4
For my Eclipse v4.4 (Luna) installation, the XML editor font size is changed under:
对于我的Eclipse v4.4 (Luna)安装,XML编辑器字体大小更改为:
Menu Window → Preferences → General → Appearance → Colors and Fonts → Structured Text Editors → Structured Text Editor Text Font.
窗口菜单→设置→一般→→→外观颜色和字体结构化文本编辑器→结构化文本字体的文本编辑器。
#3
1
I had to expand General to get to Appearance... I figured it out in about 3.2 seconds, but just in case anyone wants to save that 3.2 seconds:
我不得不扩展到外观……我用了3。2秒就算出来了,但万一有人想省下3。2秒:
Windows-> General -> Preferences-> Appearance-> Colors and Fonts-> Basic -> TextFont -> Edit...
>通用->偏好->外观->颜色和字体->基础-> TextFont ->编辑…
This is in Eclipse IDE for Android Developers v23.0.2. I'm pretty sure this changes all font sizes for everything in the editor.. ? But I'm assuming if you want XML font to be bigger, you want all files to be that font size.
这是针对Android开发者v23.0.2的Eclipse IDE。我很确定这将改变编辑器中所有字体的大小。吗?但是我假设如果你想要XML字体更大,你想要所有的文件都是那样的字体大小。