Selecting code validators

You can select specific validators to run during manual and build code validation. You can set each validator to run on manual validation, build validation, both, or neither.

To choose the validators that you want to use for a project, complete the following steps:

  1. Click Window > Preferences and select Validation in the left pane. The Validation page of the Preferences window lists the validators available in your project and their settings.
  2. Clear the Suspend all validators check box.
  3. Optional: If you want to set individual validation settings for one or more of your projects, select the Allow projects to override these preference settings check box.
  4. In the list of validators, select the check boxes next to each validator you want to use at the global level. Each validator has a check box to specify whether it is used on manual validation or on a build.
    Note: If you deselect any validator that is currently selected, any messages associated with the deselected validator will be removed from the task list, the next time you perform a full build.
  5. Tune a validator by clicking the button in the Settings column. Not all validators have additional settings.
If you want to set individual validation settings for one or more of your projects, see Overriding global validation preferences. Like the global validation preferences, you can set validators at the project level to run on manual validation, build validation, both, or neither.

Related tasks
Disabling validation
Overriding global validation preferences
Manually validating code
Related reference
Tuning validators