# Code Refactor Preferences

The Code Refactor Preferences page allows you to enable the in-place refactoring option. This option allows you to rename elements using the refactoring feature from within the editor rather than through the refactor dialog.

See the Refactoring topic for more information on refactoring or Renaming Elements.

The Code Refactor Preferences page is accessed from Window | Preferences | PHP | Code Refactor.

## Configuring Your Code Refactor Settings

To configure your Code Refactor settings:

1. Mark the 'Rename in editor without dialog' checkbox to enable you to rename elements in the editor rather than through the refactor dialog.
2. Click Apply to apply your changes.

#### Related Links:

- PHP Preferences