The PVS-Studio extension for Visual Studio Code allows you to run analysis and work with the static analyzer report.
PVS-Studio is a static code analyzer and SAST (static application security testing) tool that is available for C and C++ desktop and embedded development, C#, Java, Go, JavaScript, and TypeScript under Windows, Linux, and macOS.
A detailed description of how to work with this extension is available here.
Requirements
To use this extension you need a license key and PVS-Studio installed on your machine. You can download the analyzer here.
If you don't have a license key yet, you can get a trial license here.
What's New
The major PVS-Studio 8 release introduces new analyzers for JavaScript, TypeScript, and Go. New plugins for WebStorm and GoLand make the new analyzers available directly from the IDEs. The extension for Visual Studio Code has also been extensively updated and now supports all programming languages covered by PVS-Studio.
A new TOML-based configuration file format is now used to configure the new analyzers, the new IDE plugins, and the updated Visual Studio Code extension. See the documentation for details.
Work on expanding MISRA C++ 2023 coverage continues. Sixteen existing diagnostic rules of the MISRA group have been adapted to the MISRA C++ 2023 standard. Additional information on MISRA support is available in the documentation.
The C and C++ analyzer now supports the x86_64-pc-linux-gnu-c++ compiler on Linux. Support has also been added for the TI C2000-CGT compiler in the compilation monitoring and compilation trace modes.