Refactoring Source Files
See Also
You can rename some or all occurrences of an element in your project.
To find and rename an element in your project:
- Do one of the following:
- Right-click an occurrence of the element in a source file in the Source Editor
and choose Refactor > Rename.
- Right-click an element in the Navigator window and choose Rename.
- In the Rename dialog box, type the new name in the New Name test field and click
Preview.
- The Refactoring window opens with a tree view of the occurrences of the
element
in your project on the left, and a split panel showing the selected source file and the
refactored source file on the right.
- To rename all occurrences of the element in your project, click Do Refactoring.
- If you
want to change only some of the occurrences of the element, deselect the checkboxes
in the tree view for the files in which you do not want it changed, or the individual
occurrences that you do not want changed. Then click Do Refactoring to change only the
occurrences that are still selected.
Legal Notices