cppcheck plugin for CLion
Latest commit 10280df Feb 22, 2017 @johnthagen Add 1.0.7 release notes.



cppcheck plugin for CLion.

  • Runs cppcheck on the fly while you write code.
  • Highlights lines and displays cppcheck error messages.
  • Supports passing options to cppcheck.


See Installing, Updating and Uninstalling Repository Plugins.


  1. Install the cppcheck analysis tool (not bundled with this plugin).
  2. Install the cppcheck plugin.
  3. File -> Settings -> Other Settings -> cppcheck configuration. Fill in the absolute path to the cppcheck executable.

Known Issues

cppcheck is not designed to be run on header files (.h) directly, as must be done for this plugin, and as a result may have false positives.

When run on header files directly, cppcheck defaults to C as the language, which will generate false positives for C++ projects. C++ projects should append --language=c++ to the cppcheck options.


1.0.7 - 2016-02-03

Avoid drawing errors in .cpp and .c files from header files they import.

1.0.6 - 2016-02-25

Fix NullPointerException when opening files with no extension.

1.0.5 - 2016-02-11

Add warning about header file false positives in C++ projects.

1.0.4 - 2016-01-28

Fix highlighting prepended whitespace.

1.0.3 - 2016-01-22

Highlight line corresponding to severity.

1.0.2 - 2016-01-19

Fix execution on Linux.

1.0.1 - 2016-01-11

Fix possible out of bounds line number when cppcheck gets out of sync with in-memory file.

1.0.0 - 2016-01-07

First release.