Posted over 3 years ago. Visible to the public.

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.

Actions

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 f or d you can select either file or 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!
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

Info

CTRL + SHIFT + i
Open the method definition in a popover.
  • When using File > Reopen Project > ..., holding SHIFT when selecting a project will open it in a new window without asking.

ERB Edition

CTRL + SHIFT + .
Insert Ruby expression tag (<%= %>)

Also see

Does your version of Ruby on Rails still receive security updates?
Rails LTS provides security patches for old versions of Ruby on Rails (3.2 and 2.3).

Owner of this card:

Avatar
Dominik Schöler
Last edit:
over 1 year ago
by Dominik Schöler
About this deck:
We are makandra and do test-driven, agile Ruby on Rails software development.
License for source code
Posted by Dominik Schöler to makandra dev
This website uses cookies to improve usability and analyze traffic.
Accept or learn more