Anyone know how to make JSLint work from the Tools menu?

Help with setting up and configuring custom user tools in UltraEdit (based on command line input)

Anyone know how to make JSLint work from the Tools menu?

Postby W4IK » Thu Apr 27, 2006 5:58 pm

I can enter the command line (with paths adjusted for my machine) given at JSlint's doc page into the tool configuration dialog but it doesn't scan the current file in UE.

You can find JSLint here: JSLint

BTW - I have enabled JSLint in Visual Studio and it works fine there.

Any other suggestions on JavaScript syntax checking programs also happily accepted.

Thanks for any help,
Greg
User avatar
W4IK
Newbie
 
Posts: 2
Joined: Wed Apr 26, 2006 11:00 pm

Re: Anyone know how to make JSLint work from the Tools menu?

Postby Acid » Thu Apr 27, 2006 7:41 pm

command line:
%jslint dir%\jsl.exe -conf "%jslint dir%\%your config file%" -process %n%e

working dir:
%P

options:
Dos program
save active file

command output:
output to list box
show dox box
capture output

If you want to be able to double click the error add jump to it in the file replace the default output with:
+output-format __FILENAME__(__LINE__) __ERROR__
-context
User avatar
Acid
Basic User
Basic User
 
Posts: 21
Joined: Thu Jan 26, 2006 12:00 am

Re: Anyone know how to make JSLint work from the Tools menu?

Postby W4IK » Thu Apr 27, 2006 8:36 pm

That got it Acid...Thanks...saved me a buncha time
User avatar
W4IK
Newbie
 
Posts: 2
Joined: Wed Apr 26, 2006 11:00 pm

Re: Anyone know how to make JSLint work from the Tools menu?

Postby Acid » Thu Apr 27, 2006 8:57 pm

no probs
User avatar
Acid
Basic User
Basic User
 
Posts: 21
Joined: Thu Jan 26, 2006 12:00 am

Re: Anyone know how to make JSLint work from the Tools menu?

Postby gary_johnson_53 » Sat Feb 04, 2012 2:32 pm

Thanks for sharing
User avatar
gary_johnson_53
Newbie
 
Posts: 8
Joined: Sat Mar 12, 2005 12:00 am


Return to Custom User Tools/Tool Configuration