Ask Different is a question and answer site for power users of Apple hardware and software. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'd like to know how to increase the font size for Eclipse so it adjusts the whole GUI to not look so darn small on my screen.

For NetBeans there is the --font-size switch which can be set in netbeans.conf, is there something similar for Eclipse?

(In case it's useful, I'm on Snow Leopard.)

share|improve this question
up vote 5 down vote accepted

As far as I know, there's no way to increase the font globally. In Eclipse's Preferences, navigate to General > Appearance > Colors and Fonts.

Dialog font is the font used in the dialogs, and Text Font used in text editors, etc.

I don't know how to increase the font for the rest of the GUI, though.

share|improve this answer
    
thank you, well it seems i still have to use netbeans – Michael Lange Sep 10 '11 at 9:42
    
@MichaelLange see my reply. – akuhn May 19 '12 at 8:14
    
This is a reasonable compromise for me. Eclipse uses so much screen estate on GUI-fluff that this is the only reasonable way to get a lot of information on there too. – Thorbjørn Ravn Andersen Dec 17 '12 at 12:13

Inside the Eclipse.app is a setting for the font size. To make the fonts globally larger edit Eclipse.app » Contents » MacOS » eclipse.ini and remove the line

-Dorg.eclipse.swt.internal.carbon.smallFonts

from the file. Save the file and restart Eclipse.

share|improve this answer
2  
This actually helps, nice one! – Henrique Ordine Sep 20 '14 at 10:58
1  
Great. This solves also the small size of the interface elements, like the Package Explorer. I was turning blind before... BTW, you know what's fine? I have such line in my eclipse.ini twice, one was commented out and the other not. I wonder why the did that... – Fran Nov 11 '14 at 17:09
1  
In Mars it's located in Eclipse.app/Contents/Eclipse/eclipse.ini Also, I found two lines in the .ini file that had this -D definition, so make sure to remove all of them before restart. – andrewz Aug 24 '15 at 13:48
    
This should be the accepted answer. This is the only way to increase the GUI fonts in Eclipse on OS X that I've found. – toolbear Apr 29 at 19:26
    
In Neon, the .ini file is also in /Applications/Eclipse.app/Contents/Eclipse/eclipse.ini just like @andrewz commented. Also, there are two lines in the .ini file as well, which you have to remove. – adino Jul 22 at 16:36

Go to Preferences > General > Appearance > Colors and Fonts, expand the "Basic" folder and select "Text Font" and change that to whatever size you like.

share|improve this answer
    
Does not work at all. I am using Kelper on yosemite. – Alex Mar 18 '15 at 16:19
    
This only changes the text font. It has no impact on the GUI globally as the OP asked. – toolbear Apr 29 at 19:16

I have Eclipse installed in a Linux machine. A while ago I did a Linux update and it messed up the fonts on the entire system. All the fonts got larger. So, I went all over the place resizing the fonts for each application.

Guess what?! On the next Linux update, the fonts got back to normal. However, I had to go back and undo all the font resizing that I had previously done on every application. So, when it came time to reset the fonts in Eclipse, I couldn't remember exactly what I did. I went to the following location:

Window > Preferences > General > Appearance > Colors and Fonts > Basic > Text Font > Edit

No matter what I did on this setting, the font remained the same.

I finally figured out what the problem was. I had also resized the fonts on the following location:

Window > Preferences > General > Appearance > Colors and Fonts > Structured Text Editors > Structured Text Editor Text Font (overrides default: Text Font) > Edit

Once I edited this setting, the fonts on Eclipse went back to normal.

share|improve this answer

NOTE: For those coming from Google, this change has no effect on later MacOS/Eclipse versions of El Capitan and Mars, respectively. See this related question: Yosemite: How do increase font size of Eclipse globally?

share|improve this answer
1  
This does not really answer the question. If you have a different question, you can ask it by clicking Ask Question. You can also add a bounty to draw more attention to this question once you have enough reputation. - From Review – fbara Jun 17 at 0:25

You go to colors and font and go to the java drop down and find java editor and edit the size and it should work as it has for me.

share|improve this answer
    
How does this improve on or differ to apple.stackexchange.com/a/35588/237 – Mark Jul 9 at 18:58

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.