Home Download Buy Blog Forum Support

SublimeJavaScript

SublimeJavaScript

Postby pyparadigm on Sun Sep 25, 2011 12:45 am

This plugin will run JSBeautify and JSHint everytime you save the file. It will then highlight any lines a JSHint error occurs on and print it to the console. It works on Windows, Linux, and Mac, all you need to do is add Node to your path for JSHint, otherwise it will only Beautify when you save the file. More info on the GitHub.

GitHub
Project: https://github.com/pyparadigm/SublimeJavaScript
Direct Download: https://github.com/pyparadigm/SublimeJa ... all/master

Image
pyparadigm
 
Posts: 23
Joined: Thu Aug 04, 2011 8:15 am

Re: SublimeJavaScript

Postby jchannon on Wed Oct 05, 2011 6:36 pm

Wow! I have been looking for something like this for days.

The only thing is, is that I have sublimelinter installed so does that conflict at all?
jchannon
 
Posts: 15
Joined: Sun Oct 02, 2011 4:09 pm

Re: SublimeJavaScript

Postby aparajita on Wed Oct 05, 2011 10:55 pm

Please add an option to turn off jshint, a lot of folks are already using SublimeLinter to do jshint.
aparajita
 
Posts: 177
Joined: Sun Jul 24, 2011 10:42 pm

Re: SublimeJavaScript

Postby jchannon on Fri Oct 07, 2011 9:37 am

I would quite like it if it has node.js validation. Does it?
jchannon
 
Posts: 15
Joined: Sun Oct 02, 2011 4:09 pm

Re: SublimeJavaScript

Postby pyparadigm on Sun Oct 09, 2011 6:39 pm

If you need to disable the JSHint then comment out the line:

Line 68: self.jshint(view, new_source)

I haven't really been paying attention to this much, its been working for my environment, but will monitor issues reported on GitHub and fix them.
pyparadigm
 
Posts: 23
Joined: Thu Aug 04, 2011 8:15 am


Return to Plugin Announcements

Who is online

Users browsing this forum: No registered users and 8 guests