【问题标题】:C++ Advanced Lint error "Skipping CppCheck linter because lintOn 1 is not in 2."C++ 高级 Lint 错误“跳过 CppCheck linter,因为 lintOn 1 不在 2 中。”
【发布时间】:2021-02-05 10:46:25
【问题描述】:

我正在通过与 Centos 7 开发机器的 SSH 连接从 Windows 运行 VSCode,我收到错误“跳过 CppCheck linter,因为 lintOn 1 不在 2 中”。 这工作得很好,我不知道可能发生了什么改变来引发错误。我没有在代码编辑器中看到任何表示问题的曲线。我一直无法在网上找到任何帮助。

我在项目.vscode目录下的settings.json内容为:

{
    "files.associations": {
        "istream": "cpp",
        "ostream": "cpp",
        "fstream": "cpp",
        "sstream": "cpp"
    },
    "c-cpp-flylint.enable": true,
    "c-cpp-flylint.debug": true,
    "c-cpp-flylint.flexelint.enable": false,
    "c-cpp-flylint.cppcheck.enable": true,
    "c-cpp-flylint.clang.enable": false
}

【问题讨论】:

    标签: visual-studio-code cppcheck


    【解决方案1】:

    这似乎是扩展中的一个错误,并已报告给维护者

    【讨论】:

      猜你喜欢
      • 2015-06-01
      • 1970-01-01
      • 1970-01-01
      • 2017-07-16
      • 1970-01-01
      • 1970-01-01
      • 2018-04-24
      • 2014-04-05
      • 2014-12-09
      相关资源
      最近更新 更多