ThinkChat2.0新版上线,更智能更精彩,支持会话、画图、阅读、搜索等,送10W Token,即刻开启你的AI之旅 广告
#### SublimeLinter-jshint 语法提示 ~~~ Package Control Messages ======================== SublimeLinter-jshint -------------------- SublimeLinter-jshint ------------------------------- This linter plugin for SublimeLinter provides an interface to jshint. ** IMPORTANT! ** Before this plugin will activate, you *must* follow the installation instructions here: https://github.com/SublimeLinter/SublimeLinter-jshint ~~~ #### node.js 安装 http://nodejs.cn/download/ ~~~ Microsoft Windows [版本 6.1.7601] 版权所有 (c) 2009 Microsoft Corporation。保留所有权利。 C:\Users\Administrator>npm install -g jshint C:\Users\Administrator\AppData\Roaming\npm\jshint -> C:\Users\Administrator\AppData\Roaming\npm\node_modules\jshint\bin\jshint + jshint@2.9.5 added 31 packages in 33.284s C:\Users\Administrator> ~~~ #### Finding a linter executable ~~~ Microsoft Windows [版本 10.0.10586] (c) 2015 Microsoft Corporation。保留所有权利。 C:\Users\amamatthew>where jshint C:\Users\amamatthew\AppData\Roaming\npm\jshint C:\Users\amamatthew\AppData\Roaming\npm\jshint.cmd C:\Users\amamatthew> ~~~ #### SublimeLinter 监控模式 SublimeLinter有几种监控模式(右键 > SublimeLinter > Lint Mode),通过 SublimeLinter 的配置文件(Sublime Text菜单项 > Perferences > Package Settings > SublimeLinter > Settings User)。 可选的监控模式分别是: `Background(实时监测)`,`Load / Save`,`Save Only` 和 `Manual`。 错误/警告的提示样式也可以更改(右键 > SublimeLinter > Mark Style 和 Choose Gutter Theme)。 #### SublimeLinter-jshint 包安装 https://packagecontrol.io/packages/SublimeLinter-jshint https://github.com/SublimeLinter/SublimeLinter-jshint