Skip to content
This repository has been archived by the owner on Apr 5, 2024. It is now read-only.

GetStarted

Konrad Windszus edited this page Aug 27, 2015 · 1 revision

Introduction

After the installation you can use these steps to get the first results.

Get Started

  1. Open Eclipse-Preferences.
  2. Go to C/C++->cppcheclipse.
  3. Enter binary path for cppcheck.
  4. Go to settings and select the checks you want to execute (default is to check only for problems).
  5. Go to problems and deselect the issues you want to suppress
  6. Click on OK.
  7. In the Project Explorer select the project you want to check and right click on it.
  8. Select "Run cppcheck" from the contextmenu.
  9. The issues are reported in the problems view (in addition to the output of cppcheck in the console view).
  10. For each issue, there are some quickfixes available.

To configure cppcheck project-specific overwrite some of the settings in the project properties. The default for new projects is, that they take over the settings from the Preferences.

Clone this wiki locally