6

Searched the net for a jshint plugin for netbeans, but found none...

Can anyone describe or show an easy solution for jshint integration in netbeans?

shapeshifta
  • 300
  • 5
  • 16
  • 1
    If you want to torture yourself there is the jslint plug-in http://plugins.netbeans.org/plugin/40893/jslint :) – epascarello Apr 19 '12 at 12:23

4 Answers4

5

There is no good plugin for netbeans. Install node, use grunt and start rocking! :)

shapeshifta
  • 300
  • 5
  • 16
  • 1
    I'll upvote you if you can tell me how to connect NetBeans to a grunt task ... :) Eclipse was so much easier! – blong Sep 21 '12 at 18:38
  • 1
    You can just install grunt on windows or linux and use grunt watch to watch a group of files. Grunt will then lint them automatically if you saved your files in netbeans. You can't really connect netbeans to grunt :) – shapeshifta Sep 26 '12 at 12:07
  • That's perfect - exactly what I needed to hear :) – blong Sep 26 '12 at 19:09
4

I think this may work for you: jshint

Artur Marnik
  • 116
  • 2
1

Netbeans has two plugins for Javascript code quality.

JSHist: It is relatively new, It was added on Dic-2013 Only supports version 7.4 of Netbeans

and

JSLint: It seems that is working as plugin since a while, It was added on Nov-2011 and the last updated was on Oct-2013. Supports versions 7.4, 7.3, 7.2, 7.0 of Netbeans.

It looks like both can be installed manually for version 8.0

Hemerson Varela
  • 24,034
  • 16
  • 68
  • 69
0

The easiest way is to add this plug-in. Supports the Netbeans 7.3.

You can fork it and add JSHint.