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

This commit is contained in:
Johan Kaving 2011-04-14 15:48:27 +02:00
parent 31f86e4372
commit 46f8a1960a
3 changed files with 30 additions and 1 deletions

View file

@ -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.*

11
buildjar.sh Executable file
View file

@ -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

BIN
settings.jar Normal file

Binary file not shown.