RubyMine 5.4.3 Web Help

2.0+

Using the Show Usages function, you can bring up a list of the usages of a symbol across the whole project. So doing, the pop-up window with the list of usages of a symbol features a toolbar with the following buttons:

IconShortcutDescription
mergeUsages.png Ctrl+F or Alt+F3Ctrl+F or Alt+Shift+3Ctrl+F or Alt+Shift+3Ctrl+F or Alt+F3Ctrl+Alt+S, Alt+F3 or Ctrl+SCtrl+F or Alt+F3Ctrl+F or Alt+F3Ctrl+F or Alt+F3Meta+F or Alt+F3Meta F or Alt F3Meta F or Alt F3Meta F or Alt F3Meta F or Alt F3 Merge usages of the symbol from the same line.
showReadAccess.png Ctrl+RCtrl+RCtrl+RCtrl+RAlt+Shift+5Ctrl+HCtrl+HCtrl+FMeta+Alt+FMeta RMeta RMeta RMeta R Show read access to the symbol.
showWriteAccess.png Ctrl+W Show write access to the symbol.
showImportStatements.png Ctrl+ICtrl+ICtrl+ICtrl+ICtrl+ICtrl+Shift+ICtrl+IAlt+Shift+PCtrl+Alt+OMeta IMeta IMeta IMeta I Show usages in the import statements.
groupByFileStructureCtrl+MCtrl+MCtrl+MCtrl+MCtrl+MCtrl+MCtrl+MCtrl+MCtrl+MNothingNothingNothingMeta Shift MIf this button is pressed, the found usages show under the corresponding method nodes.
find.gifAlt+F7Alt+Shift+7Alt+Shift+7Alt+F7Alt+F7 or Alt+Shift+SAlt+Shift+F7Alt+F7Ctrl+GAlt+F7Alt F7Alt F7Meta Shift GAlt F7Show search results in the Find Usages tool window.
settings.pngCtrl+Alt+Shift+F7Ctrl+Alt+Shift+7Ctrl+Alt+Shift+7Ctrl+Alt+Shift+7Ctrl+Alt+Shift+F7Ctrl+Alt+Shift+F7Ctrl+Alt+Shift+F7Ctrl+Alt+Shift+F7Meta+Alt+Shift+F7Meta Alt Shift F7Meta Alt Shift F7Meta Alt Shift F7Meta Alt Shift F7Open the Find Usages dialog box for the selected symbol, enabling you to change search options.

Tip

In addition to the ability of viewing usages, you can use this function as a quick means of navigation.

To view the usages of a symbol across the project
  1. Place the caret at the desired symbol in the editor.
  2. On the main menu, choose Edit | Find | Show Usages, or press Ctrl+Alt+F7Ctrl+Alt+7Ctrl+Alt+7Ctrl+Alt+7Ctrl+Alt+F7Ctrl+Alt+F7Ctrl+Alt+F7Ctrl+Alt+F7Meta+Alt+F7Meta Alt F7Meta Alt F7Meta Alt F7Meta Alt F7.
  3. Use the toolbar buttons to present search results in the desired way.
    To jump from search results to a line of source code, click the desired entry.
    To close the list, press EscapeEscapeEscapeEscapeEscape, Escape or Ctrl+GEscapeEscapeEscapeEscapeEscapeEscapeEscapeEscape. ruby_showUsages.png

See Also

Procedures:

Reference:

Web Resources: