Yosemite: How do increase font size of Eclipse globally?

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.


This does work for me on Yosemite and Eclipse Neon 3. But the font increase is very minimal, I did not even notice it the first time. I'd estimate it went from 4pt to 6pt. It still helps though, because before it was almost unreadable. After, it was small but readable. Take a before/after screenshot to compare.

  • Go to your Eclipse folder, e.g. ~/java-neon/Eclipse.app/Contents/Eclipse
  • Edit eclipse.ini
  • Delete all occurrences of -Dorg.eclipse.swt.internal.carbon.smallFonts (should be two of them).
  • Restart Eclipse