Skip to content

Instantly share code, notes, and snippets.

@joesepi
Last active December 21, 2015 11:29
Show Gist options
  • Save joesepi/6299513 to your computer and use it in GitHub Desktop.
Save joesepi/6299513 to your computer and use it in GitHub Desktop.
How to get SublimeLinter working in Sublime Text 3 (ST3)

How to get SublimeLinter working in SublimeText3 (ST3)

This shouldn't be that hard.

I have done a number of things over the last few hours to get this to work and I wasn't taking notes, so this is what I think needs to happen to install SublimeLinter in ST3

The first thing you need to do is uninstall SublimeLinter if you have it installed:

  • Assuming you have Package Controll installed, hit Cmd + Shift + P to bring up the panel and type "remove" and choose "Package Control: Remove Package" and then choose SublimeLinter from the resulting menu

Let's really make sure that all of that SublimeLinter stuff is gone:

  • Navigate to ~/Library/Application\ Support/Sublime\ Text\ 3/
  • If there are any remnants of SublimeLinter in any of these dirs, remove them: Installed Packages, Local, Packages

Let's install the Git repo to use for SublimeLinter rather than using the PackageControl installer

cd ~/Library/Application\ Support/Sublime\ Text\ 3/Packages
git clone https://github.com/SublimeLinter/SublimeLinter.git
cd SublimeLinter
git checkout sublime-text-3

Restart ST3 and Boom! That should be it! Don't install SublimeLinter through Package Control at all!!

@dickinsonjl
Copy link

Thanks, this worked.
To get the "!" icon next to syntax errors I did reset the linter (from Cmd + Shift + P type "lint", choose the reset option) but i'm not sure if this is necessary(?)

@nicholasruunu
Copy link

I have tried this plenty of times, doesn't work in PHP yet, right?

@okonomiyaki3000
Copy link

Does not seem to work with PHP.

@aparajita
Copy link

In case you didn't know, SublimeLinter 3 for Sublime Text 3 has landed, and it's a huge improvement over previous versions. Check it out at http://sublimelinter.readthedocs.org.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment