KSoc: Do Refactor
How to get to that pesky “Do Refactor” button with the keyboard?
Welcome to today’s edition of the Keyboard Shortcut Appreciation Society (KSoc (or KSAS)).
Do Refactor
We love to refactor. If we don’t refactor, our code slowly turns into unmalleable pulp.
Thank the heavens for IDEA’s refactoring functionality. When refactoring, a pane opens with a Do Refactor button. Since we want to not touch the mouse, ever, we hope for a keyboard shortcut. (And this on macOS no less.)
But alas! Nothing available in the keymap!
A quick search reveals a post on the JetBrains forum that promises to resolve our situation.
And it does!
The famed keyboard shortcut is:
alt + D
You’re welcome.
Tune in next time, when we’ll tackle [something else]