You can modify and disable rules to create your own rule configuration.
You can export that configuration to a file that other team members can import.
This allows the team to efficiently share a customized rule configuration
to ensure that they run consistent code reviews that apply exactly the same
rules and settings.
You must modify and disable rules to create your own rule set before
you can export it.
To export or import a code review rule configuration:
- 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.
- In the Preferences window, click Export to
export a rule configuration.
- In the Export Code Review configuration window, under Export
Code Review, do any of the following, depending on what you want
to export to the file:
- Click Export configuration settings to
export the settings that determine which rules and categories to disable in
a code review.
- Click Export rule properties to export
the severity level and numeric values for rules.
- Click Export user-defined rules to export
rules you created that are specific to your application.
- In the Save to Zip file field type a file
name or click Browse to select a file from in the Select window.
- Click Finish.