How to increase font size of Eclipse globally?

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.)


Solution 1:

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

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

from the file. Save the file and restart Eclipse.

Solution 2:

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

For Eclipse Neon: To Increase Ctrl + To reduce Ctrl - for Macs, use the command key, not the control key

shortcut for font eclipse

Solution 3:

Solution for Eclipse Oxygen at MacOS High Sierra (Dec 2017)

  1. Open terminal and run commands:

    cd /Applications/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.ui.themes_1.2.1.v20170809-1435/css
    
    vim e4_basestyle.css
    
  2. Add a style:

    * {
        font-size: 14;
    }
    
  3. Restart Eclipse to apply changes.

Solution 4:

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.

Solution 5:

For eclipse luna : edit eclipse/plugins/org.eclipse.ui.themes_1.0.1.v20141126-1957/css/e4_default_gtk.css

and add at end of file :

* {
  font-size:14;
} 

This will make eclipse keep same font if you switch workspaces