Sublime Forum

SublimeLinter3 not linting?

#1

I can’t figure out what’s wrong. I’m trying out the portable 64-bit Windows version of ST3 (build 3058). Installed SublimeLinter 3 via Package Control, seemed to install just fine, but I get absolutley no reaction to bad code (tried Javascript and also some vandalizded Python files). Node.js is in my PATH (and SublimeLinter for ST2 is working just fine) and I also tried setting the path to Node.js in the paths-setting. Console shows entries which seem to indicate the plugin is loading, but compare the following logs from starting ST3 versus (also portable 64-bit) ST2. Seems everything is not starting up on ST3:

ST3 (Windows, portable 64-bit, build 3058):
reloading plugin SublimeLinter.commands
reloading plugin SublimeLinter.sublimelinter

ST2 (Windows, portable 64-bit, build 2221):
SublimeLinter: C loaded
SublimeLinter: CoffeeScript loaded
SublimeLinter: CSS loaded
SublimeLinter: c_cpplint loaded
SublimeLinter: Git Commit Message loaded
SublimeLinter: Ruby Haml loaded
SublimeLinter: haskell loaded
SublimeLinter: HTML loaded
SublimeLinter: Java loaded
SublimeLinter: JavaScript loaded
SublimeLinter: Lua loaded
SublimeLinter: Annotations loaded
SublimeLinter: Objective-J loaded
SublimeLinter: Perl loaded
SublimeLinter: PHP loaded
SublimeLinter: Puppet loaded
SublimeLinter: Python loaded
SublimeLinter: ruby-lint loaded
SublimeLinter: Ruby loaded
SublimeLinter: pylint loaded
SublimeLinter: XML loaded
Reloading plugin …]\Sublime Text\Data\Packages\sublime-jslint\asyncprocess.py
Reloading plugin …]\Sublime Text\Data\Packages\sublime-jslint\jslint.py
Reloading plugin …]\Sublime Text\Data\Packages\sublime-jslint\statusprocess.py
plugin init time: 0.65797
…]
SublimeLinter: javascript enabled (using node.js)

What am I missing?

0 Likes

#2

Maybe you’ll get more information with ‘debug’ is ‘true’ in your SublimeLinter.sublime-settings?

{
    "user": {
        "debug": true,
        "delay": 0.25,
...
0 Likes

#3

I’m definitely having a problem with javascript. This is a different error from the one I was getting before I globally installed jshint on this machine to test. I turned on debug and this is from the console. I can run jshint and node in the command window so they are in the path. Any help is great, thanks.

SublimeLinter: jshint: debug.js 'jshint', '--verbose', '*', '-'] SublimeLinter: error launching 'jshint', '--verbose', '*', '-'] SublimeLinter: error was: The system cannot find the file specified

0 Likes

#4

@mpeppler

Hi. I had the same problem yesterday, but i checked today and it was some bug in jshint plugin, it has already been fixed. So go to Preferences > Browse package, remove folder SublimeLinter-jshint, and install the plugin again. Or you can also open the command pallete and select Upgrade/Overwrite All Packages. Now should work :smile:

0 Likes