1000字范文,内容丰富有趣,学习的好帮手!
1000字范文 > eclipse java字体 太小 如何在Eclipse for Java文本编辑器中更改字体大小?

eclipse java字体 太小 如何在Eclipse for Java文本编辑器中更改字体大小?

时间:2019-08-09 23:12:44

相关推荐

eclipse java字体 太小 如何在Eclipse for Java文本编辑器中更改字体大小?

I have just tried to change my font size in Eclipse 3.6.0 in the following way:

General → Appearance → Colors and Fonts → Java Editor text font

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?

解决方案

If you are changing the font size, but it is only working for the currently open file, then I suspect that you are changing the wrong preferences.

On the Eclipse toolbar, select Window → Preferences

Set the font size, General → Appearance → Colors and Fonts → Java → Java Editor Text Font).

Save the preferences.

Check that you do not have per-project preferences. These will override the top-level preferences.

Eclipsev4.2 (Juno) note

Per comment below, this has moved to the Eclipse Preferences menu (no longer named the Window menu).

Eclipsev4.3 (Kepler) note

The Window menu is live again, that is, menu Window → Preferences.

Note Be sure to check out the ChandraBhan Singh's answer, it shows the key bindings to change the font size.

本内容不代表本网观点和政治立场,如有侵犯你的权益请联系我们处理。
网友评论
网友评论仅供其表达个人看法,并不表明网站立场。