To rename a local variable or parameter, right-click a variable name in the source code and choose Refactoring Rename on the main menu. For the other code elements, you can use the source-code Editor, the Diagram View, the Model View, or the Refactoring main menu.
Tip: In order to make renaming overloads possible, the method should have its override
property set to true
To rename an element:
- Select element in the Diagram View or in the Model View.
Tip: In the editor, place the mouse cursor on the element name.
- Choose RefactoringRename on the context menu or on the main menu.
- In the resulting dialog box, specify new name of the element.
- Click OK.
- In the Refactoring window that opens, review the refactoring before committing to it. Click the Perform refactoring button to complete the move.