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 context menu (right-click). 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 the Rename Checked button.

Note that each found match 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.