Home | Blog | Software | Reviews and Features | Forum | Help | Donate | About us
topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • December 02, 2016, 10:46:35 PM
  • Proudly celebrating 10 years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

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

ewemoa

  • Honorary Member
  • Joined in 2008
  • **
  • Posts: 2,845
    • View Profile
    • Donate to Member
N.A.N.Y 2013 Submission - JSHintHere for FARR
« on: December 18, 2012, 07:32:11 PM »
A FARR plugin to execute JSHint on a FARR file result.



Screenshot

jshinthere.pngN.A.N.Y 2013 Submission - JSHintHere for FARR

jshinthere-run.pngN.A.N.Y 2013 Submission - JSHintHere for FARR

jshinthere-history.pngN.A.N.Y 2013 Submission - JSHintHere for FARR



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 30, 2012, 11:34:24 PM by ewemoa »

ewemoa

  • Honorary Member
  • Joined in 2008
  • **
  • Posts: 2,845
    • View Profile
    • Donate to Member
Re: N.A.N.Y 2013 Submission - JSHintHere for FARR
« Reply #1 on: December 20, 2012, 07:39:00 AM »
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: 36,405
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: N.A.N.Y 2013 Submission - JSHintHere for FARR
« Reply #2 on: December 20, 2012, 01:20:19 PM »
Neat.  :up:

ewemoa

  • Honorary Member
  • Joined in 2008
  • **
  • Posts: 2,845
    • View Profile
    • Donate to Member
Re: N.A.N.Y 2013 Submission - JSHintHere for FARR
« Reply #3 on: December 30, 2012, 07:19:57 AM »
Added support for rerunning JSHint on a file from a history of paths.