有没有人让谷歌关闭链接(gjslint)与崇高文本2的视窗?
当我运行它时,我得到以下信息(通过“工具”菜单或CTRL+SHIFT+J):
文件名、目录名或卷标签语法不正确。 闭包链接:忽略0错误。
我的步骤如下:
从盒子里出来,所有的功能都不起作用。但是,如果我对默认设置中的路径进行硬编码,则可以让补丁风格的插件工作:
{
// Path to the gjslint.
"gjslint_path": "/python27/scripts/gjslint",
// Path to the fixjsstyle.
"fixjsstyle_path": "/python27/scripts/fixjsstyle"
}可以确认它们都存在:
C:\>dir c:\python27\scripts
Volume in drive C is OSDisk
Volume Serial Number is 36E3-7433
Directory of c:\python27\scripts
...
06/29/2012 09:48 AM 304 fixjsstyle-script.py
06/29/2012 09:48 AM 7,168 fixjsstyle.exe
06/29/2012 09:48 AM 525 fixjsstyle.exe.manifest
06/29/2012 09:48 AM 298 gjslint-script.py
06/29/2012 09:48 AM 7,168 gjslint.exe
06/29/2012 09:48 AM 522 gjslint.exe.manifest
17 File(s) 34,580 bytes
2 Dir(s) 186,377,805,824 bytes free这听起来确实是一个引用问题,我甚至尝试将可执行文件复制到插件目录中,这也不起作用。
编辑:我应该补充说,我确实打开了debug: true标志,但什么也没有出现。
发布于 2012-07-02 14:05:51
我在Windows7上也有同样的问题。我找到的唯一解决方法是删除gjslint调用周围的双引号。
第34行 of gjslint.py在sublime包中
原件(不起作用):
cmd = '"' + s.get('gjslint_path', 'jslint') + '" ' + s.get('gjslint_flags', '') + ' "' + file_path + '"'工作:
cmd = '' + s.get('gjslint_path', 'jslint') + ' ' + s.get('gjslint_flags', '') + ' "' + file_path + '"'请确保您的gjslint路径没有任何空间来使此工作,因为这是对您的情况。
如果有人有其他解决方案,请分享。
https://stackoverflow.com/questions/11264535
复制相似问题