Reputation:
What's the default font that Eclipse uses for Java code?
Upvotes: 20
Views: 31226
Reputation: 183
The default font style eclipse is using is Consolas
however Courier New
is also a good option to go with.
Upvotes: 14
Reputation: 512
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.
Upvotes: 10