Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Cpp Static ChecksNew to Visual Studio Code? Get it now.
Cpp Static Checks

Cpp Static Checks

NathanJ

|
7,936 installs
| (0) | Free
Perform checks based on Cppcheck and Clang-tidy
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

cppStaticChecks

This extension integrates tools like Cppcheck and Clang-tidy, and lets you perform static analysis on C/C++ files in VScode with right-click menu.

Features

  1. CppStaticChecks:Select Tool command can be accessed at the command pallette, you can select the tool to use.
  2. Right-click on an C/C++ file in the editor view, there will be a command near the bottom to check. Shortcut: (ctrl+alt+c)
  3. Right-click on a folder in explorer view to check all files in that directory.
  4. Output will be shown in 2 output channels: "cppStaticChecks: Errors" and "cppStaticChecks: Warnings".
  5. In the output channels, you can use ctrl+click to jump to the corresponding line in the file.
  6. There is a status bar item for Cppcheck showing the errors and warnings count, clicking it will show the error output.
  7. CppStaticChecks:Options command can be accessed at the command pallette, you can select the desired checks to be done.

Requirements

  1. The tools must be installed to your system.
  2. You'll need to add the tools used to the "PATH" environment variable
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft