Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
505 views
in Technique[技术] by (71.8m points)

visual studio code - C++ Advanced Lint error "Skipping CppCheck linter because lintOn 1 is not in 2."

I am running VSCode from Windows over an SSH connection to a Centos 7 development machine and I get the error "Skipping CppCheck linter because lintOn 1 is not in 2." This was working perfectly and I have no idea what might have changed to provoke the error. I do not get any squiggles denoting issues in the code editor. I have been unable to find any help online.

My settings.json in the project .vscode directory reads:

{
    "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
}
question from:https://stackoverflow.com/questions/66061856/c-advanced-lint-error-skipping-cppcheck-linter-because-linton-1-is-not-in-2

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

This would seem to be a bug in the extension and has been reported to the maintainer


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...