本文共 1345 字,大约阅读时间需要 4 分钟。
本文翻译自:
I have just tried to change my font size in Eclipse 3.6.0 in the following way: 我刚刚尝试通过以下方式在Eclipse 3.6.0中更改字体大小:
General → Appearance → Colors and Fonts → Java Editor text font 常规→外观→颜色和字体→Java编辑器文本字体
However, the font size only changed in the file I had open. 但是,字体大小仅在我打开的文件中更改。 How can I change the font size for all Java files and projects I open in Eclipse? 如何更改我在Eclipse中打开的所有Java文件和项目的字体大小?
参考:
你可以看看 ,它也有很多选项可用于自定义字体,背景颜色等。
This worked for me: 这对我有用:
On the Eclipse toolbar, select Window → Preferences . 在Eclipse工具栏上,选择Window → Preferences 。
Set the font size ( General → Appearance → Colors and Fonts → Basic → Text Font ): 设置字体大小( 常规 → 外观 → 颜色和字体 → 基本 → 文本字体 ):
Save the preferences. 保存首选项。
On Mac: 在Mac上:
Eclipse toolbar Eclipse → Preferences OR Command + , (comma) Eclipse工具栏Eclipse→ 首选项 OR Command + , (逗号)
General → Appearance → Colors and Fonts → Basic → Text Font 常规 → 外观 → 颜色和字体 → 基本 → 文本字体
Apply 应用
我倾向于使用菜单Windows → 首选项 → 常规 → 外观 → 颜色和字体 → Java文本编辑器 → 更改 → 应用 。
转载地址:http://cbexb.baihongyu.com/