0

您好,即使我尝试安装 Google cpplint,我仍然收到此错误:SublimeLinter: c disabled ("cppcheck" cannot be found)。这是我的用户设置:

{
"sublimelinter": "save-only",

"sublimelinter_syntax_map":
{
"Python Django": "python",
"Ruby on Rails": "ruby",
"C++": "c_cpplint",
"C": "c_cpplint"
},
"sublimelinter_executable_map":
{
"perl": "perl",
"php": "php",
"ruby": "rvm-auto-ruby",
"c_cpplint": "/Users/Nenor/cpplint.py"
},
}

我更喜欢它是否可以与 cppcheck 一起使用。运行 OS X 10.9,Sublime Text 3047

4

1 回答 1

0

您使用的是原始的 SublimeLinter 吗?我认为它还不适用于 Sublime3。见https://github.com/SublimeLinter/SublimeLinter3

于 2013-12-15T01:00:37.900 回答