As a developer on the Windows platform, it’s very difficult to stop reaching for the mouse but I’ve been trying to wean myself from the mouse as much as possible. Here are a few of my favorite RubyMine shortcuts that have helped.
- Ctrl + W
Selects the nearest word. Repeatedly pressing them will select increasingly larger blocks of words.
- Ctrl + /
Toggle commenting on the selected line or highlighted block.
- Ctrl + Tab
Navigates through the files that are open.
- Shift + Delete
Deletes the current row and places it in your Clipboard to paste later.
- Ctrl + Alt + M
Extracts the highlighted block of code into a new method.