Description list support (Updated: List of Helpful RubyMine Shortcuts)

Posted . Visible to the public. Auto-destruct in 48 days

Team C enabled support for description lists Show archive.org snapshot in makandracards.
Please make sure to add a newline before the definition starting with colon (:).

Usage example:

Apple

: A fruit that grows on trees.

Orange

: A citrus fruit known for its vitamin C content.

  More details in second paragraph.

will result in:

Apple

A fruit that grows on trees.

Orange

A citrus fruit known for its vitamin C content.

More details in second paragraph.

Changes

  • ## Navigation
  • `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 + G`
  • +
  • : Go to line
  • ## Actions
  • [`CTRL + SHIFT + A`](https://makandracards.com/makandra/6637-rubymine-find-and-execute-a-menu-action-by-its-name)
  • +
  • : 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!
  • `Press CTRL twice, and then without releasing it, press down arrow keys`
  • +
  • : The new carets are added to the columns below. 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
  • `CTRL` + `SHIFT` + `Backspace`
  • +
  • : Move caret to position of last edit
  • `CTRL` + `ALT` + Left arrow
  • +
  • : Move to last position (see [this card](https://makandracards.com/makandra/496446-rubymine-how-to-restore-the-back-to-last-position-shortcut-on-ubuntu-20-04) for Ubuntu 20.04 with Gnome)
  • `CTRL` + `ALT` + `L`
  • +
  • : Auto indent marked code (does not always work)
  • `SHIFT` + Click Editor tab
  • +
  • : Close the tab
  • ## Info
  • `CTRL + SHIFT + i`
  • +
  • : Open the method definition in a popover.
  • ## Menu
  • - 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
  • - [Rubymine: Code folding](https://makandracards.com/makandra/32251-rubymine-code-folding)
  • - [RubyMine: Using pinned tabs will increase your productivity](https://makandracards.com/makandra/9951-rubymine-using-pinned-tabs-will-increase-your-productivity)
  • - [Rubymine: How to restore the Back to last position shortcut on Ubuntu 20.04](https://makandracards.com/makandra/496446-rubymine-how-to-use-the-back-to-last-position-shortcut-on-ubuntu-20-04)
Daniel Straßner
Last edit
Daniel Straßner
License
Source code in this card is licensed under the MIT License.
Posted by Daniel Straßner to makandra dev (2024-12-05 14:33)