How to change font size in Eclipse for Java text editors? How to change font size in Eclipse for Java text editors? java java

How to change font size in Eclipse for Java text editors?


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 WindowPreferences
  • Set the font size, GeneralAppearanceColors and FontsJavaJava Editor Text Font).
  • Save the preferences.

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

Eclipse v4.2 (Juno) note

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

Eclipse v4.3 (Kepler) note

The Window menu is live again, that is, menu WindowPreferences.

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


On Mac:

  1. Eclipse toolbar Eclipse → Preferences OR Command + , (comma)

  2. GeneralAppearanceColors and FontsBasicText Font

  3. Apply


For Eclipse Neon

To IncreaseCtrl +

To reduce Ctrl -

shortcut for font eclipse