Home Download Buy Blog Forum Support

SublimeLinter & javascript!?

SublimeLinter & javascript!?

Postby Lukk on Tue Mar 27, 2012 7:04 pm

Hello,

I'm trying to install the Sublimelinter plugin but it's just extremely user unfriendly to install. I can install the package and it doesnt do anything. I'm on Windows 7 64bit.

Could someone make a very noob friendly quick guide to install this plugin? I've been losing HOURS just to install a a plugin...
Lukk
 
Posts: 12
Joined: Sun Mar 18, 2012 1:41 pm

Re: SublimeLinter & javascript!?

Postby facelessuser on Tue Mar 27, 2012 7:10 pm

Installing the plugin is easy, but you must understand there are certain prerequisites for certain linters. For instance, you cannot expect it to lint your PHP code, if you don't even have PHP installed (it uses PHP to lint the code)

For Javascript, you must have NodeJS installed and in your system path. SublimeLinter uses NodeJS to launch JSHint which is a Javascript linter written in Javascript. That is probably why it is doing nothing for you.

Install NodeJS (you may need to restart your computer if you are on windows for it to be seen in your system path) and that should help.
facelessuser
 
Posts: 1571
Joined: Tue Apr 05, 2011 7:38 pm

Re: SublimeLinter & javascript!?

Postby nick. on Tue Mar 27, 2012 10:09 pm

Also, there is pretty good documentation available at the plugin's "homepage": https://github.com/Kronuz/SublimeLinter ... README.rst
nick.
 
Posts: 266
Joined: Wed Jan 18, 2012 3:45 am

Re: SublimeLinter & javascript!?

Postby SeanWcom on Wed Mar 28, 2012 2:05 am

Lukk,

You never responded to my last post about this question in your other thread (viewtopic.php?f=2&t=6353). If you have Node.js installed, go read my last suggestion and let us know if you can run 'node' from your command line.
Multiple selections... one of my favorite ST2 features. View some noob-friendly screen casts here.
SeanWcom
 
Posts: 101
Joined: Wed Aug 03, 2011 1:31 am
Location: Georgia

Re: SublimeLinter & javascript!?

Postby aparajita on Fri Mar 30, 2012 5:13 pm

Lukk wrote:Hello,

I'm trying to install the Sublimelinter plugin but it's just extremely user unfriendly to install. I can install the package and it doesnt do anything. I'm on Windows 7 64bit.

Could someone make a very noob friendly quick guide to install this plugin? I've been losing HOURS just to install a a plugin...


Did you use Package Control? Without that every plugin is user unfriendly to install.

As someone else pointed out, the README is pretty extensive, you might want to start there. In the latest version of SublimeLinter, you can access the README via Preferences->Package Settings->SublimeLinter->README.
aparajita
 
Posts: 177
Joined: Sun Jul 24, 2011 10:42 pm


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 40 guests