Refactor Rename

Quickly renaming classes, methods, and variables in IntelliJ IDEA.

Rename your classes, methods, and variables using Refactor | Rename. Press ⇧F6 (macOS) / Shift+F6 (Windows/Linux), type the new name and press (macOS) / Enter (Windows/Linux).


Related Resources

Refactoring
Refactoring
Refactoring code for understanding.
Extract Variable
Extract Variable
Extract code to a variable
Extract Method
Extract Method
Extract code to a new method.