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
Presentation Mode
Presentation Mode
Enter and Exit Presentation Mode using the Quick Switch Scheme.