有人用Google的Closure Linter(gjslint)来处理Windows的Sublime text2吗?在
当我运行它时,我得到以下信息(通过工具菜单或CTRL+SHIFT+J):
The filename, directory name, or volume label syntax is incorrect.
closure linter: ignored 0 errors.
我的步骤如下:
开箱即用,所有功能都不起作用。但是,如果我在默认设置中硬编码路径,我可以让fixjsstyle插件工作:
{
// Path to the gjslint.
"gjslint_path": "/python27/scripts/gjslint",
// Path to the fixjsstyle.
"fixjsstyle_path": "/python27/scripts/fixjsstyle"
}
可以确认它们都存在:
^{pr2}$这听起来像是一个引用问题,我甚至尝试将可执行文件复制到插件目录中,但也没用。在
Edit:我应该补充一下,我确实打开了debug: true
标志,但没有出现任何问题。在
我在Windows7上也遇到过同样的问题。 我发现修复它的唯一方法是删除
gjslint
调用的双引号在
sublime
包内的gjslint.py
的第34行原始(不工作):
工作:
^{pr2}$请确保您的
gjslint
路径没有任何空格来完成此操作,因为它适合您。在如果有人有其他解决方案,请分享。在
相关问题 更多 >
编程相关推荐