Skip to content

Instantly share code, notes, and snippets.

@halfvector
Last active January 16, 2018 20:41
Show Gist options
  • Save halfvector/0e04a57561c588cfc787 to your computer and use it in GitHub Desktop.
Save halfvector/0e04a57561c588cfc787 to your computer and use it in GitHub Desktop.
Android Studio & IntelliJ Beautification

Default to Source Code Pro and Source Sans Pro size 13pt and ~1.1x line-height for better readibility.
Run IntelliJ based IDEs on JVM 1.6 for sub-pixel anti-aliasing on LCDs.
Use OTF versions of Adobe's Source fonts.

Fonts

Grab the latest releases of Source Code Pro & Source Sans Pro:

Copy the OTF files to your system's fonts folder and JVM's fonts folder.

e.g. On OSX:
Get the JVM 1.6 home folder: /usr/libexec/java_home -v 1.6 will typically resolve to /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/. You might have to create the lib/fonts/ folder.

cp SourceCodePro-*.otf ~/Library/Fonts
cp SourceCodePro-*.otf `/usr/libexec/java_home -v 1.6`/Home/lib/fonts/

Themes

Grab my fork of the amazing base-16 builder by Chris Kempson to build some themes, and copy them to your IntelliJ/AS preferences folder.

e.g. On OSX:

git clone https://github.com/halfvector/base16-builder.git
cd base16-builder
./base16

This will generate ready-to-use themes in the output folder. Install the idea color schemes in Android Studio:

cp output/idea/base16-*.dark.icls ~/Library/Preferences/AndroidStudio/colors

Replace /AndroidStudio/ with with your IntelliJ product, i.e. if you are using IntelliJ Idea 14 Community Edition, the destination may be:

cp output/idea/base16-*.dark.icls ~/Library/Preferences/IdeaIC14/colors
@armno
Copy link

armno commented Mar 27, 2015

thanks man. work well!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment