19

What's the default font that Eclipse uses for Java code?

3 Answers 3

15

The default font Eclipse uses for (Java) code is Monospace.

1
  • 4
    In my version of Eclipse Photon with Dark theme Consolas is the right answer. Aug 22, 2018 at 12:13
13

The default font style eclipse is using is Consolas however Courier New is also a good option to go with.

10

Depending on your Eclipse version, the font might differ. Go to Window-> Preferences->General->Appearance->Color and Fonts. Choose Basic->Text Font and you can hit the Edit button to change font type and font size. It will be used by several other properties below that default to this font.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy