Skip to content

Instantly share code, notes, and snippets.

@johnmichel
Last active December 22, 2015 11:08
Show Gist options
  • Save johnmichel/6463219 to your computer and use it in GitHub Desktop.
Save johnmichel/6463219 to your computer and use it in GitHub Desktop.
  1. Quit Sublime Text 3.
  2. Remove any previously installed SublimeLinter packages (from ~/Library/Application Support/Sublime Text 3/Installed Packages AND ~/Library/Application Support/Sublime Text 3/Packages). It's ok if the ~/Library/Application Support/Sublime Text 3/Packages/User/SublimeLinter.sublime-settings is left in place. More on that later.
  3. Download this snapshot of SublimeLinter.
  4. Unzip the contents into ~/Library/Application Support/Sublime Text 3/Packages. There should now be a SublimeLinter folder there.
  5. Open Sublime Text 3. Everything should be working.

BONUS ROUND!

The new version of SublimeLinter includes the ability to enable gutter mark themes, which will supplement the outline style with icons for different error types. To enable these to work with the existing settings, copy the following code block into ~/Library/Application Support/Sublime Text 3/Packages/User/SublimeLinter.sublime-settings, below the line for "sublimelinter_gutter_marks": true.

/*
    Choose the theme for gutter marks; available built-in options are:
    "alpha", "bright", "dark", "hard" and "simple"

    Anything else will be treated as a path to a set of images.
    For instance, setting the value to "../User/my-awesome-theme"
    would cause SublimeLinter to look for the images:
    "../User/my-awesome-theme-illegal.png",
    "../User/my-awesome-theme-violation.png",
    "../User/my-awesome-theme-warning.png"
    These images should all be approximately 32x32px.
*/
"sublimelinter_gutter_marks_theme": "bright",
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment