IntelliJ IDEA Tips & Tricks #43: Use Shift F6 to Rename a Variable

preview_player
Показать описание
Renaming a variable is one of the commonest and most useful refactorings. This is because proper variable names increases readability and understandability of the code.

For a variable to be renamed, just point the cursor on it and select Shift + F6 and give the new name. IntelliJ IDEA will automatically update the new variable name in all the places the variable is used.
Рекомендации по теме