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 26K
  • Win 12K
  • OS X 6K
  • Linux 9K
May 25 May 24 May 23 May 22 May 21 May 20 May 19 May 18 May 17 May 16 May 15 May 14 May 13 May 12 May 11 May 10 May 9 May 8 May 7 May 6 May 5 May 4 May 3 May 2 May 1 Apr 30 Apr 29 Apr 28 Apr 27 Apr 26 Apr 25 Apr 24 Apr 23 Apr 22 Apr 21 Apr 20 Apr 19 Apr 18 Apr 17 Apr 16 Apr 15 Apr 14 Apr 13 Apr 12 Apr 11 Apr 10
Windows 8 13 12 18 8 5 7 11 8 8 4 14 8 14 9 15 7 9 6 5 3 8 9 13 10 19 3 4 15 11 21 7 14 9 5 14 8 11 5 7 5 11 17 14 11 9
OS X 0 5 7 4 4 3 1 1 3 4 3 4 3 0 4 2 5 5 1 1 2 5 2 4 4 5 1 2 5 9 9 2 8 1 4 1 4 6 5 5 1 3 6 5 4 5
Linux 7 9 3 6 4 3 11 5 10 8 3 11 7 5 6 7 8 12 5 5 7 9 5 8 7 4 5 8 14 7 5 7 2 6 7 10 6 5 5 7 1 3 11 7 5 7

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.