cppcheck

Compatible with: IntelliJ IDEA PhpStorm WebStorm PyCharm RubyMine AppCode CLion Gogland DataGrip Rider MPS Android Studio
02.08.2017
8 299
cppcheck plugin for CLion.

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

Usage:
Install the Cppcheck analysis tool ( not bundled with this plugin).
Install the cppcheck plugin.
File -> Settings -> Other Settings -> cppcheck configuration.
Fill in the absolute path of the cppcheck executable (e.g. C:\Program Files (x86)\Cppcheck\cppcheck.exe, /usr/bin/cppcheck, etc).

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.

Download plugin

Recent change notes

1.0.8 Fix handling Cppcheck errors that span multiple lines.