/intellij-colors-solarized

Solarized Colorscheme for IntelliJ IDEA

Primary LanguageShell

Solarized Colorscheme for IntelliJ IDEA

Original Solarized color scheme developed by Ethan Schoonover es@ethanschoonover.com

Adapted for IntelliJ IDEA by:
Adam Vandenberg flangy@gmail.com
Johan Kaving johan@kaving.se

See the Solarized homepage for screenshots, details and colorscheme versions for Vim, Mutt, popular terminal emulators and other applications.

Downloads

If you have come across this colorscheme via the IntelliJ-only repository on github see the link above to the Solarized homepage or visit the main Solarized repository.

The IntelliJ-only repository is kept in sync with the main Solarized repository. Issues, bug reports, changelogs are centralized at the main Solarized repository.

Status

These color scheme files are primarily tested with IntelliJ IDEA Community Edition 10.0.3. They might work with other versions of IntelliJ IDEA as well as other JetBrains tools (e.g. PhpStorm and PyCharm).

This table lists the languages (and other sections under Preferences | Editor | Colors & Fonts) for which the syntax highlighting has been adapted to the Solarized color scheme:

Language/Section Supported
General Yes
Java Yes
Groovy Yes
Scala Yes
Python Yes
PHP Yes
XML Yes
HTML Yes
RegExp Yes
Bash Yes
Markdown Yes
Custom Yes
Debugger Yes
XPath No
Properties Yes
Android Logcat No
Diff Yes
File Status No
Google Go Yes
Coffeescript Only Solarized Dark

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. The directory varies, depending on which JetBrains IDE you are using. It is typically in:

    Mac OS X

    • ~/Library/Preferences/IntelliJIdea10/colors (IntelliJ IDEA)
    • ~/Library/Preferences/IntelliJIdea10CE/colors (IntelliJ IDEA Community Edition),
    • ~/Library/Preferences/WebIDE10/colors (WebIDE or PHPStorm).

    Windows

    • Documents and Settings/<user>/.IntelliJIdea10/config/colors (IntelliJ IDEA)
  2. Restart IntelliJ IDEA

  3. Go to Preferences | Editor | Colors & Fonts and select one of the new color themes.

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.

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.