下载EditPlus.JSLint后解压到任意目录。

在EditPlus中依次点击[工具]->[配置用户工具]->[添加]->[应用程序]

按图中设置:

JSLint for EditPlus 检验js语法


参数:"$(FilePath)"
命令:WScript.exe "D:\editPlus\app\JSLint\JSLint.wsf"
注意将JSLint.wsf路径替换成你自己的
输出模式中的正则表达式栏:
^.+ >>>in \[(.+)\] \[line\: ([0-9]+)\,character\: ([0-9]+)\]

然后设定一个快捷键~
JSLint检查完后双击错误信息,就会自动将光标定位到出错行。

http://www.vfresh.org/js/980

相关文章:

  • 2022-12-23
  • 2021-12-14
  • 2022-12-23
  • 2021-12-11
  • 2022-01-20
  • 2021-12-17
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-07-25
  • 2021-07-23
  • 2021-07-25
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案