Refactoring preferences

The following preferences can be set on the Refactoring Preferences page. (Window > Preferences > Java > Refactoring.)

 

Option

Description

Default

Confirm the execution of the refactoring if

In this section, choose which kinds of problems will cause the wizard to remain open and show the problems after pressing Finish:

  • problems that prevent the actual refactoring from being performed
  • errors in the workbench
  • warnings in the workbench
  • information to be generated by precondition checking

Problems less severe than the selected level allow you to do a refactoring without previewing the results.

Error

Save all modified resources automatically prior to refactoring

If this option is turned on, then whenever you perform a refactoring action, the workbench will automatically save all resources that have been modified since the last save.

Not checked

Related concepts

Refactoring support

Related tasks

Refactoring
Refactoring without preview
Refactoring with preview
Previewing refactoring changes
Undoing a refactoring operation
Redoing a refactoring operation

Related reference

Refactoring actions
Refactoring wizard

Legal notices