Code review rules that are shipped with the product can only be
enabled or disabled. However, user-defined rules can be moved into different
rule categories, removed, enabled, or disabled.
To move or remove a user-defined rule:
- Click , expand Java,
select Code Review, and click OK.
The Code Review view opens.
- Click Window > Preferences. The Preferences
window opens, showing the Code Review page.
- In the left pane, expand Java, then select Code
Review.
- Expand the category that contains the rule you want to move or
remove.
- Click the rule you want to move or remove, and then do one of the
following:
- To move the rule to another category, click Move rule,
click another category from the list, and then click OK.
- To remove the rule, click Remove rule, and
then click Yes to confirm.