views:

53

answers:

1

hi,

i'm looking for a free tool, which i can use local to do javascript and php codreviewing. if it's even easy to install you'll be my hero!

any experiences, preferences, suggestions, commendations?

thanks in advice.

p.s.: if there is no adequate tool which can handle both good enough, i will be happy with a combination of two tools, as well.

+4  A: 

I will let someone take php but as for javascript you can use jsLint. They have an online version where you can plugin your source code. Or they have a wsh script option which can be run locally. Just be warned that it will hurt your feelings when you run this.

http://www.JSLint.com/wsh/index.html

I wasn't making it up when I said it will hurt your feelings. That is right out of the documentation: http://www.JSLint.com/lint.html

spinon
great, thanks. is there a linux version available too? :-(how trusty are the ideas of mr. crockford. no i++ ??
helle
jsLint is actually written in javascript, so it should be platform independent
Mark Baker
You can trust him. The guy is pretty much on the forefront of all things javascript. But if you are interested in the rules of the engine you can find them on the second link I posted. And no ++ is not considered best practice.
spinon
As for linux version I don't know if they have a wsh script but I am sure you can find a js script interpreter for linux. I don't know any but if you do a search surely you will find something.
spinon
+1 neat. Sounds useful.
Byron Whitlock