User Manual
In this section you will find a quick overview how to enable/disable, configure and use the code analysator plug-in. Note that the plug-in by default will be preinstalled but disabled.
Enable/Disable Plug-In
In order to enable/disable the plug-in you will have to open the preference page of the code analysator. To find this page differs depending on Operating System. For Windows/Linux use "Window → Preferences → C/C++ → Code Analysis → Guidelines". Than click on "Add" and choose the guidelines you want activated. Safe the changes by clicking on "Apply changes"
At Mac OS only the first tab changes, instead "Window" use "Eclipse". Here the full path "Eclipse → Preferences → C/C++ → Code Analysis → Guidelines". Also continue with "Add" and activate the guidelines you need.
Configure Priorization of Guidelines
The priorization of the guidelines depend on their order in the preference page. The top one will be the highest priorized. This means when a problem shows up, which is recognized by more than one guideline, the most highest priorized guideline will be displayed in your local file. The other guidelines will be suppressed. This also applies to quick fixes. You can change the priorization through the preference page of codeanalysator. To do so open the preference page as explained in the chapter above. Click on the activated guideline and navigate the order through the button "Up" or "Down"
Usage
Any found issue of the enabled guidelines will be underlined yellow in the code if it is a warning. For infos the color will apply green. Errors or Problems are red underlined. To apply the quickfix you can open the quickfix list with either the guideline icon on the left
or with a right click on the underlined code.
Suppression
You might want to suppress the warnings. You can do so through the quick fix list (see chapter Usage). In some cases you will get two suppress quickfixes. This happens when a warning is recognized by two or more activated guidelines. In this case you can either suppress the warning for all guidelines or suppress it only for the actual most priorized guideline. If you choose the latter the warning won't disappear but the next highest priorized guideline activates.