Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Cppcheck Plug-inNew to Visual Studio Code? Get it now.
Cppcheck Plug-in

Cppcheck Plug-in

NathanJ

|
29,267 installs
| (0) | Free
A plug-in for Cppcheck, capable of checking folders or editor tabs, shows output in the output channel, severity options available.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

cppcheck-plugin

This extension lets you use Cppcheck in VScode with right-click menu.

Features

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

Requirements

Cppcheck must be installed to your system! You'll need to add cppcheck to the "PATH" environment variable in Windows

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft