Refactor rename with AI Assistant

Use the power of AI Assistant for even better naming suggestions

Naming things is hard! Use AI Assistant for even better naming suggestions. Open Refactor | Rename ⇧F6 (macOS) / Shift+F6 (Windows/Linux) to rename a variable or method. If you are logged into AI Assistant, you'll see its naming suggestions at the bottom of the list. Select the suggestion you want, using the arrow keys and press (macOS) / Enter (Windows/Linux) to select it. If none of the suggestions are quite what you want, you can also type the name you want yourself.

Related Resources

AI Assistant Chat
Chat with AI Assistant inside the IDE
Generate unit tests
Generate unit tests with AI Assistant
AI Actions
Use AI Actions in the editor