DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Author Topic: N.A.N.Y 2013 Submission - JSHintHere for FARR  (Read 16,738 times)

ewemoa

  • Honorary Member
  • Joined in 2008
  • **
  • Posts: 2,922
    • Plugin Coding Medal
    • Participated in NANY Challenge Three Times
N.A.N.Y 2013 Submission - JSHintHere for FARR
« on: December 19, 2012, 01:32 AM »
A FARR plugin to execute JSHint on a FARR file result.



Screenshot

jshinthere.png

jshinthere-run.png

jshinthere-history.png



Description

Execution of JSHint on a FARR file result.

The motivating use case was the difficulty in finding errors when developing FScript-based plugins.  As FScript is Windows Scripting Host (WSH) oriented, this plugin uses the WSH support of JSHint.



Installation / Uninstallation / Requirements

It's a FARR plugin so installation and uninstallation are as usual.  Tested under Windows 7 64-bit with FARR 2.203.01.  May work for other versions of Windows.



Downloads

Plugin

md5:b2b26e3200670edf066ae0b7991142cc
sha1:6751a03cef80cda8b23f080cdb1c348e4502269e



README.txt
JSHintHere

Purpose:

 Convenient execution of JSHint on a file FARR result.

Usage:

 Running JSHint on a .js file:

 1. Find a Javascript (WSH) file using FARR.

 2. Bring up a context-sensitive menu for the file result.

 3. Choose "JSHint Here".

 4. Observe results in FARR's memo view.

 Re-running JSHint on the last file operated on:

 1. Via FARR's status bar, choose the JSHint menu icon.

 2. Choose the "Rerun Most Recent" menu item.

 3. Observe results in FARR's memo view.

 Re-running JSHint on files operated on earlier:

 1. Via FARR's status bar, choose the JSHint menu icon.

 2. Choose the "Rerun with..." menu item.

 3. Choose a file from the submenu.

 4. Observe results in FARR's memo view.

Notes:

 The motivating use case was the difficulty in finding errors when
 developing FScript-based plugins.  As FScript is Windows
 Scripting Host (WSH) oriented, this plugin uses the WSH support of
 JSHint.

Credits:

 Find And Run Robot

   mouser

 FScript

   ecaradec

 Icons

   http://jshint.com/
   https://www.fatcow.com/free-icons

 JSHint

   Anton Kovalyov
   Wolfgang Kluge
   Josh Perez
   Brent Lintner

 JSLint

   Douglas Crockford
« Last Edit: December 31, 2012, 05:34 AM by ewemoa »

ewemoa

  • Honorary Member
  • Joined in 2008
  • **
  • Posts: 2,922
    • Plugin Coding Medal
    • Participated in NANY Challenge Three Times
Re: N.A.N.Y 2013 Submission - JSHintHere for FARR
« Reply #1 on: December 20, 2012, 01:39 PM »
Added a statusbar menu.

The menu contains an item to re-run JSHint on the last file JSHint was run on.

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,931
    • Gathering Badge
    • Plugin Coding Medal
    • Participated in NANY Challenge Seventeen Times
    • Cody Award
    • Coding Snacks
    • Volunteers/Staff
Re: N.A.N.Y 2013 Submission - JSHintHere for FARR
« Reply #2 on: December 20, 2012, 07:20 PM »
Neat.  :up:

ewemoa

  • Honorary Member
  • Joined in 2008
  • **
  • Posts: 2,922
    • Plugin Coding Medal
    • Participated in NANY Challenge Three Times
Re: N.A.N.Y 2013 Submission - JSHintHere for FARR
« Reply #3 on: December 30, 2012, 01:19 PM »
Added support for rerunning JSHint on a file from a history of paths.

Original address: https://www.donationcoder.com/forum/index.php?topic=33339.0