Skip to content

Commit

Permalink
Added settings.jar file that can be used with the "Import Settings...…
Browse files Browse the repository at this point in the history
…" function.
  • Loading branch information
Johan Kaving committed Apr 14, 2011
1 parent 31f86e4 commit 46f8a19
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 1 deletion.
20 changes: 19 additions & 1 deletion README.md
Expand Up @@ -30,6 +30,18 @@ Issues, bug reports, changelogs are centralized at the main [Solarized repositor
Installation 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 1. Copy `Solarized Dark.xml` and `Solarized Light.xml` to your IntelliJ IDEA preferences
color directory. color directory.
On Mac OS X this is typically located in `~/Library/Preferences/IntelliJIdea10/colors` or `~/Library/Preferences/IntelliJIdea10CE/colors` (for the Community Edition). On Mac OS X this is typically located in `~/Library/Preferences/IntelliJIdea10/colors` or `~/Library/Preferences/IntelliJIdea10CE/colors` (for the Community Edition).
Expand All @@ -44,4 +56,10 @@ Note About Fonts
----------------- -----------------
Unfortunately, font settings are included in the color settings files. Unfortunately, font settings are included in the color settings files.
You should probably modify these in `Preferences | Editor | Colors & Fonts | Font` 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 changes: 11 additions & 0 deletions 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
Binary file added settings.jar
Binary file not shown.

0 comments on commit 46f8a19

Please sign in to comment.