我在 sublime text 中使用 sublimelinter 插件。它在 OS X 中运行良好,但在 Windows 中无法运行。我认为问题是在 Windows 机器中设置路径。你们能告诉我我应该设置什么路径...
工作代码
"paths": {
"linux": [],
"osx": [
"/usr/local/bin/",
"/usr/bin/"
],
"windows": []
},
在下面提供我的代码
{
"user": {
"debug": false,
"delay": 0.25,
"error_color": "D02000",
"gutter_theme": "Packages/SublimeLinter/gutter-themes/Default/Default.gutter-theme",
"gutter_theme_excludes": [],
"lint_mode": "load/save",
"linters": {
"jshint": {
"@disable": false,
"args": [],
"excludes": []
},
"json": {
"@disable": false,
"args": [],
"excludes": [],
"strict": true
},
"scss": {
"@disable": false,
"args": [],
"exclude-linter": "",
"excludes": [],
"include-linter": ""
}
},
"mark_style": "outline",
"no_column_highlights_line": false,
**"paths": {
"linux": [],
"osx": [],
"windows": []
},**
"python_paths": {
"linux": [],
"osx": [],
"windows": []
},
"rc_search_limit": 3,
"shell_timeout": 10,
"show_errors_on_save": true,
"show_marks_in_minimap": true,
"syntax_map": {
"html (django)": "html",
"html (rails)": "html",
"html 5": "html",
"php": "html",
"python django": "python"
},
"warning_color": "DDB700",
"wrap_find": true
}
}