## Refactoring code symbols

> This is a feature of JBuilder Professional and Enterprise.

JBuilder provides two refactorings: rename refactor and move refactor. Rename refactoring applies a new name to a package, class, method, field, local variable, or property, ensuring that all references to that name are correctly handled. Move refactoring, available for classes, moves a specified class to a new package.

You can access JBuilder's refactoring features from the editor or from a UML package or class diagram. To refactor, choose the symbol you want to refactor and right-click. Choose Rename or Move. Both commands display a refactoring dialog box where you enter the symbol's new name. Click OK to complete the refactoring. The Refactoring tab displays lines in your source code where there were changes.

Before you rename refactor or move refactor, JBuilder provides several ways to learn about a symbol. You can find its definition using the Find Definition command on the editor's context menu. You can also find all references to the symbol using the Find References command.

For more information, see:
Building Applications with JBuilder: Refactoring code symbols