AppCode
 
Get AppCode

Rename refactorings

Last modified: 13 February 2023

Shortcut for the action: Shift+F6

General refactoring settings: Preferences | Editor | Code Editing

Rename refactoring allows you to rename symbols, files, and directories globally with all the references to them in the code corrected automatically.

Renaming local variables or private methods can be done easily inline since only the limited scope is affected. Renaming classes or public methods could potentially impact a lot of files. In this case, we suggest that you preview potential changes before you refactor.