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
Complete Statement
Complete Statement
Complete statement can add your semicolons, brackets and manage caret placement for you.