Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
509 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 Reply

0 votes
by (71.8m points)

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


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...