ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Sublime​Linter-cppcheck

by SublimeLinter ST3

This linter plugin for SublimeLinter provides an interface to cppcheck.

Details

Installs

  • Total 27K
  • Win 12K
  • OS X 6K
  • Linux 9K
Aug 15 Aug 14 Aug 13 Aug 12 Aug 11 Aug 10 Aug 9 Aug 8 Aug 7 Aug 6 Aug 5 Aug 4 Aug 3 Aug 2 Aug 1 Jul 31 Jul 30 Jul 29 Jul 28 Jul 27 Jul 26 Jul 25 Jul 24 Jul 23 Jul 22 Jul 21 Jul 20 Jul 19 Jul 18 Jul 17 Jul 16 Jul 15 Jul 14 Jul 13 Jul 12 Jul 11 Jul 10 Jul 9 Jul 8 Jul 7 Jul 6 Jul 5 Jul 4 Jul 3 Jul 2 Jul 1
Windows 1 6 3 4 9 11 11 3 5 9 4 5 9 7 11 10 10 10 7 18 6 15 15 15 4 5 9 11 8 13 7 9 3 6 19 19 9 19 6 8 8 6 13 8 6 5
OS X 1 6 3 1 1 2 0 4 1 4 2 2 2 3 1 1 8 3 2 2 6 2 1 2 1 2 1 4 3 2 1 9 2 6 4 3 1 4 1 3 2 3 1 3 1 3
Linux 0 9 9 4 1 4 6 10 10 10 4 2 7 3 9 4 7 0 3 11 13 9 3 8 1 5 7 3 2 5 6 1 0 5 3 8 6 4 6 2 9 10 6 7 1 2

Readme

Source
raw.​githubusercontent.​com

SublimeLinter-cppcheck

Build Status

This linter plugin for SublimeLinter provides an interface to cppcheck. It will be used with files that have the “C++” or “C” syntax.

Installation

SublimeLinter must be installed in order to use this plugin.

Please use Package Control to install the linter plugin.

Before using this plugin, ensure that cppcheck is installed on your system. To install cppcheck, do one of the following:

  • Install cppcheck from your favorite package manager:
<package manager> install cppcheck

Once cppcheck is installed, ensure it is in your system PATH so that SublimeLinter can find it. The docs cover troubleshooting PATH configuration.

Settings

Additional SublimeLinter-cppcheck settings:

Setting Description
std Set the language standard used.
enable A comma-delimited list of checks to enable. Defaults to style.

Examples

For enable, you can use a single string (ex: "style,unusedFunction"), or an array of strings if not inline (ex: ["style", "unusedFunction"]).

For std, you can use a single string for a single value, but you have to use an array of strings for multiple values (ex. ["c89", "c99"]), which means you can't use multiple values in inline settings.