Refactor this

Refactoring options for the selection

Refactor This using ⌃T (macOS) / Shift+Ctrl+Alt+T (Windows/Linux). Most refactorings have their own shortcut, but this shows us refactoring options for the selection. Select the menu item by pressing its number instead of using arrow keys.

Related Resources

Refactoring code for understanding
Refactor rename with AI Assistant
Use the power of AI Assistant for even better naming suggestions
Extract Method
Extract code to a new method