diff --git a/README.md b/README.md index 5b5c9b8..014c054 100644 --- a/README.md +++ b/README.md @@ -30,6 +30,18 @@ Issues, bug reports, changelogs are centralized at the main [Solarized repositor Installation ------------ +### Option 1: Install using "Import Settings..." + +1. Go to `File | Import Settings...` and specify the `intellij-colors-solarized` directory. + Clik `Ok` in the dialog that appears. + +2. Restart IntelliJ IDEA + +3. Go to `Preferences | Editor | Colors & Fonts` and select one of the new +color themes. + +### Option 2: Manual installation + 1. Copy `Solarized Dark.xml` and `Solarized Light.xml` to your IntelliJ IDEA preferences color directory. On Mac OS X this is typically located in `~/Library/Preferences/IntelliJIdea10/colors` or `~/Library/Preferences/IntelliJIdea10CE/colors` (for the Community Edition). @@ -44,4 +56,10 @@ Note About Fonts ----------------- Unfortunately, font settings are included in the color settings files. You should probably modify these in `Preferences | Editor | Colors & Fonts | Font` -after adding the color schemes to your IntelliJ IDEA installation. \ No newline at end of file +after adding the color schemes to your IntelliJ IDEA installation. + +Note About Committing Changes +----------------------------- +If you want to commit updates to the XML color scheme files, make sure to run the `buildjar.sh` script before committing to generate +an updated `settings.jar` file as well. +*The script has been tested on OS X, on other operating systems you're on your own.* \ No newline at end of file diff --git a/buildjar.sh b/buildjar.sh new file mode 100755 index 0000000..f3b2ed1 --- /dev/null +++ b/buildjar.sh @@ -0,0 +1,11 @@ +#!/bin/sh + +mkdir colors +cp Solarized\ Light.xml colors +cp Solarized\ Dark.xml colors +touch IntelliJ\ IDEA\ Global\ Settings + +jar cfM settings.jar IntelliJ\ IDEA\ Global\ Settings colors + +rm -r colors +rm IntelliJ\ IDEA\ Global\ Settings \ No newline at end of file diff --git a/settings.jar b/settings.jar new file mode 100644 index 0000000..158fa04 Binary files /dev/null and b/settings.jar differ