Refactor This

You can use one keyboard shortcut for all refactoring options inside your IDE.

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

Migrating from the `javax` to `jakarta` namespace
Migrating from the `javax` to `jakarta` namespace
How to transition your application from Java EE to Jakarta EE.
Extract Method
Extract Method
Extract code to a new method.
Refactoring
Refactoring
Refactoring code for understanding.