Skip to content
Browse files

Added settings.jar file that can be used with the "Import Settings...…

…" function.
  • Loading branch information...
1 parent 31f86e4 commit 46f8a1960aa65147934de785050b3779c5ba6ee3 Johan Kaving committed Apr 14, 2011
Showing with 30 additions and 1 deletion.
  1. +19 −1 README.md
  2. +11 −0 buildjar.sh
  3. BIN settings.jar
View
20 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.
+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.*
View
11 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
View
BIN settings.jar
Binary file not shown.

0 comments on commit 46f8a19

Please sign in to comment.
Something went wrong with that request. Please try again.