List of Helpful RubyMine Shortcuts
CTRL + SHIFT + ALT + N
: Search for any symbol in your application, like CSS classes, Ruby classes, methods, helpers etc.
CTRL + SHIFT + N
: Search for filename in your application (also dependencies)
CTRL + E
: Open a list of recently opened files
ALT + POS1
: Open a the navigation bar as a context menu. Allows you to quickly navigate between files.
CTRL + SHIFT + A
: Find and execute a menu action by its name
ALT + ENTER with the cursor on a highlighted section (e.g. underline)
: Opens a context menu offering actions for the highlighted section.
ALT + INS
: Create a new file/directory/... . List does filter-as-you-type, so by typing
d you can select either
directory and press
Enter. Additional boost: When typing a file name, you may write intermediate directories as part of the file name. RubyMine will create any missing directory.
ALT + J
: Select the word under the cursor, then select each next occurrence of this word in the code (multiple selection). Power feature!
Press Ctrl twice, and then without releasing it, press down arrow keys
: The new carets are added to the columns below
CTRL + SHIFT + ALT + C
: Copy the current file path with line number to the clipboard. This is especially helpful to run a single feature/spec: Just paste the reference into your terminal (you need to "unmark" the test directories "as test sources root" to get a path relative to the project root).
CTRL + D with two files selected in the project pane (click with CTRL)
: Diff the selected files
CTRL + SHIFT + i
: Open the method definition in a popover.
- When using
File > Reopen Project > ..., holding
SHIFTwhen selecting a project will open it in a new window without asking.
CTRL + SHIFT + .
: Insert Ruby expression tag (