Rename Symbol

Index of All Documentation » Wing Pro Reference Manual » Refactoring »

The Rename Symbol operation renames a variable, function, class, or module and updates the locations where it is used. To start a rename operation, click on the symbol in the editor and then select Rename Symbol from the Refactor menu or from the Refactor sub-menu of the editor's right-click context menu. Wing will begin searching for all of the locations where the symbol is used and list them in the Refactoring tool. To complete the operation, enter the new symbol name and press Enter or click on the Rename Checked button.

Each match found for the symbol is displayed with a check box that can be deselected to omit that match from the rename operation. Please refer to Find Points of Use for more information on how Wing finds symbols for refactoring operations.

After it completes, the rename operation can be undone with the Revert button in the Refactoring tool.