Gutter Color

Gutter Color is a cross-platform Sublime Text plugin which displays a colored icon for all lines which contain a color.

GutterColor

Requirements

Configure

{
  "convert_path" : "/usr/local/bin/convert"
}

Troubleshooting

Fixing ImageMagick on OSX

If you're experiencing issues with ImageMagick (installed via brew) when using GutterColor on OSX, follow these instructions to fix it.

  1. Uninstall IM with brew uninstall imagemagick
  2. Install again with a couple of options brew install imagemagick --with-xz --with-font-config --with-little-cms --with-little-cms2
  3. Check the location of convert with type convert
  4. Copy the location and edit the GutterColor/Settings - User convert_path to be the value of step 3.

Icon Tinting and Light Color Schemes

Sublime Text automatically tints gutter icons to match your background color settings. Unfortunately this can cause Gutter Color's samples to vary from slightly inaccurate to completely black. To counteract this effect, Gutter Color can generate a new copy of your current color scheme that sets the background to black only for the scope of the plugin. You will not see any visual changes other than the icons.

Animation of a user running the "Fix Current Color Scheme" command.

Other Display Issues

Sublime's placeholder image is a red-and-yellow-striped box. If you are seeing these, it is most likely that Gutter Color cannot find ImageMagick to generate the samples. Double-check that you have your convert_path setting and/or your PATH environment variable set correctly, and restart Sublime Text. If the problem persists, feel free to contact us.

TODO

Thanks

Thanks to all of the contributors who continue to improve GutterColor!

License

MIT.