RubyMine 5.4.0 Web Help

2.0+

Quick Documentation Lookup helps you get quick information for any symbol or just method signature information, provided that this symbol has been supplied with Documentation comments in the applicable format.

RubyMine recognizes inline documentation created in accordance with RDoc and YARD.

So doing, such documentation is properly rendered in the Documentation Tool Window, and in the gem manager. In case of multiple declarations, a list of possible inferred types is displayed.

ruby_quickDocumentationLookup.png
Click thumbnail to view larger image.

The URLs and e-mail addresses specified in the documentation comments for methods are also properly rendered. Clicking a hyperlink opens the corresponding URL in an external browser; clicking e-mail address opens the default mail client.

ruby_quickDefinitionLookupURL.png
Click thumbnail to view larger image.

In this section:

To view documentation for a symbol at caret, do one of the following
  • On the main menu, choose View | Quick Documentation Lookup.
  • Press Ctrl+QCtrl+Q.

Note

When you explicitly invoke code completion, then quick documentation for an entry selected in the suggestion list can be displayed automatically. The behavior of quick documentation lookup is configured in the Code Completion page of the Settings dialog.

To change the font size of quick documentation, do one of the following
  • Click show-slider in the upper-right corner of the quick documentation window, and move the slider.
  • Rotate the mouse wheel while keeping the CtrlControl key pressed.

Tip

In case of multiple declarations, you can invoke Quick Documentation Lookup immediately from the Choose declaration pop-up list:

ruby_quickDocumentationLookupFromDeclaration.png

Toolbar of the Quick Documentation Lookup

The Quick Documentation Lookup window helps navigate to the related symbols via hyperlinks, and provides a toolbar for moving back and forth through the already navigated pages, change font size, and viewing documentation in an external browser.

5.0+

When pinned, the Quick Documentation Lookup turns into Documentation Tool Window, with the corresponding sidebar icon, and more controls.

IconKeyboard shortcutAction
arrowBack arrowForward Alt+Shift+LeftAlt+Shift+Left or Alt+Shift+RightAlt+Shift+Right Navigate to the previous or next screen after using hyperlinks in the definition.

Note

On a Mac OS X computer, you can also use the three-finger right-to-left and left-to-right swipe gestures.

arrowUp.pngShift+F1Shift+F1View external documentation in the default browser.
show-sliderClick this button to show font size slider. Move the slider to increase or decrease the font size in the quick documentation window as required.

Tips and tricks

Note

See Also

Procedures:

Reference:

Web Resources: