How do I replace names in IntelliJ?

Easy steps to replace names in Intellij

To access the additional renaming choices, hit Tab to activate the context menu. Click the More options link or press Shift+F6 to open the Rename dialogue with more options. Open the Rename dialogue (Shift+F6). To activate the Preview and Refactor buttons, give the element a new name.