Rename Current Module

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


The Rename Current Module operation renames the module open in the current editor and updates locations where it is imported to reference the module's new location. To start a rename current module operation, open the module to be renamed and then select Rename Current Module from the Refactor menu or from the Refactor sub-menu of the editor's right-click context menu. Wing will search for all of the locations where the symbol is used and list them in the Refactoring tool. To complete the operation, enter the destination filename and press Enter or click on the Rename and Update Checked button.

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

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