VSCode != Visual Studio
)This page is decribing some default settings of VSCode IDE for daily usage. Yes unfortunatelly it is from Microsoft, but it is powerfull tool.
Homepage: https://code.visualstudio.com/
Getting Started (a lot of usefull information for different program languages
): https://code.visualstudio.com/docs
In left bar choose extensions. Installed contains your extension. Recommended are based on most used or already installed extensions.
VSC is containing many extensions which may solve particular problem. Here are some most used or suggested (click to open)
sudo apt-get install cppcheck
"c-cpp-flylint.cppcheck.addons": [
"misra", "cert", "threadsafety"
],
"c-cpp-flylint.clang.enable": false,
"c-cpp-flylint.flexelint.enable": false,
"c-cpp-flylint.cppcheck.enable": true,
"c-cpp-flylint.cppcheck.force": true,
"c-cpp-flylint.cppcheck.standard": [
"c11",
"c++11"
],
"c-cpp-flylint.lizard.enable": false,
"c-cpp-flylint.flawfinder.enable": false,
This is enough to see Misra warnings in VSCode: