Refactor Rename

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

Extract Variable
Extract code to a variable
File Structure
Get a quick overview of your class file
Select opened file
Locate an opened file in the project structure