cpp_cppcheck.vim : Run Cppcheck on the current window.
| script karma |
Rating 21/10,
Downloaded by 1305 |
Comments, bugs, improvements
|
Vim wiki
|
| created by |
| Brendan |
| |
| script type |
| ftplugin |
| |
| description |
This plugin will let you run Cppcheck on the C++ code in the current window. Errors from Cppcheck are presented in the quickfix window so you can edit - check - edit. Just use the command :Cppcheck. After installing the plugin, use :help cpp_cppcheck in Vim for details, including how to set command line options for Cppcheck.
If you encounter any problems, or have feature requests, please create an issue at https://github.com/brobeson/Tools/
I've tested this with Vim 7.4 on Linux (Kubuntu 15.04). Other platforms and versions of Vim should work, but I can't be sure. |
| |
| install details |
You need Cppcheck installed, and available through your PATH environment variable. See http://cppcheck.sourceforge.net to get Cppcheck.
Download the vimball, open it in Vim, and source it all:
vim cpp_cppcheck.vmb
:source %
:q
|
| |
script versions (upload new version)
Click on the package to download.
ip used for rating: 216.73.216.4
|