每次出现错误时,Sublimelinter会启动,标记错误,并且会弹出一个显示第一个错误的窗口.
>如何设置它,只是标记错误而不弹出窗口?
>如何使其标记所有错误,而不仅仅是第一个错误
我目前在Ubuntu上使用仅保存模式和sublime3.我正在编辑php文件
有人可以帮忙吗?谢谢堆
我的设置如下……
{
"user": {
"debug": false,
"delay": 0.25,
"error_color": "D02000",
"gutter_theme": "Packages/SublimeLinter/gutter-themes/Default/Default.gutter-theme",
"gutter_theme_excludes": [],
"lint_mode": "save only",
"linters": {
"php": {
"@disable": false,
"args": [],
"excludes": []
}
},
"mark_style": "squiggly underline",
"no_column_highlights_line": false,
"passive_warnings": true,
"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
}
}
解决方法:
我有同样的问题,我的lint_mode设置为后台.要解决此问题,请转到工具> SublimeLinter>在保存时显示错误.如果选中,请选中它以取消选中它.