Close
Glad You're Ready. Let's Get Started!

Let us know how we can contact you.

Thank you!

We'll respond shortly.

LABS
Exploring RubyMine's "Quick" Commands

RubyMine includes several commands to quickly perform common tasks, such as converting a Hash from Ruby 1.8 to 1.9 syntax, or viewing an object’s documentation without leaving the current file. These powerful commands eliminate tedious editing and context switching. In this post, we’ll explore them on OS X.

Intentions/Quick Fixes

A lightbulb icon indicates intentions are available for the current line. View them with alt/option + enter.

intentions/quick fixes

Quick Documentation Lookup

View documentation inline with F1.

quick documentation

Use shift + F1 to view it in an external web browser.

Quick Definition

If the docs are no help, press alt/option + space to view the definition inline.

quick definition

This is a useful way to check if something is defined.

Quick Evaluate Expression

During a debugging session, inspect an object inline with command + alt/option + F8.

quick evaluate expression

Quick Switch Scheme

Switch the color scheme, code style scheme, keymap, or look and feel with control + `

quick scheme switch

Simple But Powerful

RubyMine’s “quick” commands showcase the power of an IDE. Intentions/quick fixes was the feature that convinced me to dive deeper into RubyMine. Viewing information inline saves time, and avoids losing focus. Once integrated into your workflow, “quick” commands will become some of your most used commands.

Comments
  1. Chad Woolley says:

    You know what would be awesome? An open-source (markdown via gist or git repo) cheatsheet listing all the stuff you talk about in this article series, with hyperlinks to anchors in the original articles.

    I’d keep that up all the time while coding until I finally memorized all the ones I don’t know yet ;)

  2. Jared Carroll says:

    @Chad,

    This series has tried to touch on each section of the RubyMine OS X shortcuts PDF. That PDF is dense; perhaps a more interactive document with screenshots would be better.

Post a Comment

Your Information (Name required. Email address will not be displayed with comment.)

* Copy This Password *

* Type Or Paste Password Here *