Rename refactoring
Intellij Move allows you to rename any symbol and automatically correct any references in your code.
Rename item
To invoke the refactoring, select the name of the item to rename and press Shift+F6 (or select Refactor | Rename... from the menu):
Rename module file
In Move, modules are usually stored in files of the same name. If that condition is met, and there's only one module in the file, you can rename file together with the module:
You can also rename the module instead, file will be renamed too.
Last modified: 03 December 2024