Overriding global validation preferences

For a given project, you can override the global validation preferences.

The default validation preferences are specified globally on the Validation page of the Preferences dialog. To allow projects to override these default validation preferences, 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. Select the

    Allow projects to override these preference settings check box and click OK. Now individual projects can override the global preferences.

  3. Right-click a project and then click

    Properties.

  4. In the left pane of the Properties window, click

    Validation.

  5. Select the

    Override validation preferences check box. This check box is available only if you checked the

    Allow projects to override these preference settings check box on the workbench validation preferences page.

  6. To prevent validation for this project, select the

    Suspend all validators check box.

  7. In the list of validators, select the check boxes next to each validator you want to use. Each validator has a check box to specify whether it is used on manual validation or on a build.

  8. Choose an alternate implementation for a validator by clicking the button in the

    Settings column, then click OK. Not all validators have alternate implementations.

 

Related tasks

Disabling validation

Manually validating code

Selecting code validators

 

Related reference

Tuning validators