38

How do I set the default font size in Eclipse?

I'd like to set a default for unrecognized file types, like shell scripts and text files.

Peter Mortensen
  • 30,738
  • 21
  • 105
  • 131
Adam Matan
  • 128,757
  • 147
  • 397
  • 562

3 Answers3

54

Software Salariman has posted a solution - "Change Default Text Font in Eclipse".

The default font is set in:

Menu WindowPreferencesGeneralAppearanceColors and fontsBasic/Text Font.

Peter Mortensen
  • 30,738
  • 21
  • 105
  • 131
Adam Matan
  • 128,757
  • 147
  • 397
  • 562
1

Use menu WindowPreferencesGeneralAppearanceColors and fontsBasicText FontEdit.

Here you can change your preferred font and size.

Peter Mortensen
  • 30,738
  • 21
  • 105
  • 131
IR Rajib
  • 21
  • 1
0

As a side note to this, using Eclipse v4.3 (Kepler), I have just opened up Eclipse on my shiny new works laptop and everything was in Segoe UI font - Bizarre.

I used the following to reset everything as the previous examples didn't seem to format XML and a few other types very well...

GeneralAppearanceColors and FontsStructured Text EditorsStructured Text Editor Text font (overrides...)

Once I set this to Consolas it seems to have set everything to Consolas :)

Peter Mortensen
  • 30,738
  • 21
  • 105
  • 131
thonnor
  • 1,206
  • 2
  • 14
  • 28