RubyMine 7.0.1 Web Help

4.0+

View | Tool Windows | Find

Find tool window displays results of the following searches:

The results of each search are displayed in a separate tab, or replace the contents of the current tab, depending on the Open in new tab dialog setting. By default the window appears at the bottom of the screen.

It has a toolbar with a set of buttons, a pane of results, and additional buttons for Replace in Path, and Refactoring Preview operations.

On this page:

Toolbar buttons

Item Tooltip and shortcut Description
settings1 Options
CtrlShowSettingsAndFindUsageShowSettingsAndFindUsageShowSettingsAndFindUsageShowSettingsAndFindUsageShowSettingsAndFindUsageShowSettingsAndFindUsageShowSettingsAndFindUsageShowSettingsAndFindUsageShowSettingsAndFindUsageShowSettingsAndFindUsageShowSettingsAndFindUsageShowSettingsAndFindUsageShowSettingsAndFindUsage
Click this button to open one of the Find Usages dialogs, which corresponds to the symbol in question. You can edit the search settings and click Rerun button to execute the modified search query.
img Rerun
Ctrl+F5Ctrl+F5Ctrl+5Ctrl+F5Ctrl+F5Ctrl+Alt+RCtrl+F5Ctrl+F5Ctrl+Alt+R⌘ RControl F5⌘ RControl Alt R
Rerun the last search. This button is not available for viewing code coverage results.
img Close
Ctrl+Shift+F4Ctrl+Shift+F4Ctrl+Shift+4Ctrl+Shift+F4Ctrl+Shift+F4Ctrl+Shift+F4Ctrl+Shift+F4Ctrl+WShift+⌘+WControl Shift F4Shift ⌘ F4⌘ WShift ⌘ W
Close the current tab or the tool window. This button is not available in Replace in Path and Refactoring Preview dialogs.
pin2.png Pin Use to pin or unpin the tab. If a tab is pinned, the results for the next command are shown on a new tab.
arrowBack Recent find usages
Ctrl+ECtrl+ECtrl+ECtrl+ECtrl+ECtrl+EShift+F4Ctrl+EShift+Alt+F⌘ E⌘ E⌘ E⌘ E
Show the list of recent searches. Select an item in the list to see the search results.
img
img
Expand all
Ctrl+NumPad+ or Ctrl+EqualsCtrl+NumPad+ or Ctrl+EqualsCtrl+NumPad+ or Ctrl+EqualsCtrl+NumPad+ or Ctrl+EqualsCtrl+NumPad+ or Ctrl+EqualsCtrl+NumPad+ or Ctrl+EqualsCtrl+NumPad+ or Ctrl+EqualsCtrl+NumPad+ or Ctrl+Equals⌘+NumPad+ or ⌘+Equals⌘ NumPad or ⌘ Equals⌘ NumPad or ⌘ Equals⌘ NumPad or ⌘ Equals⌘ NumPad or ⌘ Equals
Collapse all
Ctrl+NumPad - or Ctrl+MinusCtrl+NumPad - or Ctrl+MinusCtrl+NumPad - or Ctrl+MinusCtrl+NumPad - or Ctrl+MinusCtrl+NumPad - or Ctrl+MinusCtrl+NumPad - or Ctrl+MinusCtrl+NumPad - or Ctrl+MinusCtrl+NumPad - or Ctrl+Minus⌘+NumPad - or ⌘+Minus⌘ NumPad - or ⌘ Minus⌘ NumPad - or ⌘ Minus⌘ NumPad - or ⌘ Minus⌘ NumPad - or ⌘ Minus
Click this button to have all nodes expanded or collapsed.
arrowUparrowDown Previous/next occurrence
Ctrl+Alt+UpShift+Alt+UpCtrl+Alt+UpCtrl+Alt+UpCtrl+Alt+UpCtrl+Alt+UpAlt+UpCtrl+Alt+UpCtrl+Shift+UpAlt ⌘ UpAlt ⌘ UpAlt ⌘ UpAlt ⌘ Up
Ctrl+Alt+DownShift+Alt+DownCtrl+Alt+DownCtrl+Alt+DownCtrl+Alt+DownCtrl+Alt+DownAlt+DownCtrl+Alt+DownCtrl+Shift+DownAlt ⌘ DownAlt ⌘ DownAlt ⌘ DownAlt ⌘ Down
Navigate to the previous/next element in the tab of results.
img Autoscroll to source Turns the Autoscroll to source option on or off. When the option is on and you select the search result, the corresponding source file opens in the editor and the appropriate fragment is highlighted in the file.
icon_star Favorites Click this button to add found usages to favorites.
exportToTextFile Export to Text File
Alt+OAlt+OAlt+OAlt+OAlt+OAlt+OAlt+OAlt+OAlt+OControl OControl OControl OControl O
Save the contents of the current result tab. In the Export preview dialog, specify the target file or copy information to the clipboard. Before saving, you can also modify the information to be saved.
help.gif Help
F1F1F1F1F1F1F1F1F1ContextHelpF1ContextHelpF1
Use this icon or shortcut to open the corresponding help page.
commonfilter Group by usage type
Ctrl+T
This button is available for Find Usages only.
If this button is pressed, the search results are grouped by the following categories:
  • derived class
  • require or load file
  • comments
  • unclassified usage not related to any of the categories
groupByTestProduction Group by test/production If this button is pressed, the usages are grouped according to the Production and Test scopes.
groupByModule Group by module
Ctrl+DCtrl+DCtrl+DCtrl+D⌘+DCtrl+DCtrl+D, Ctrl+Shift+Down or Ctrl+Shift+UpCtrl+DCtrl+Shift+D⌘ D⌘ D⌘ D⌘ D
If this button is pressed, the found usages show under the corresponding module or library node.

Tip

This type of grouping is helpful, when a package is split between several modules.

groupByPackage Group by package
Ctrl+PCtrl+PCtrl+PCtrl+PCtrl+PCtrl+PCtrl+PCtrl+P⌘+P⌘ P⌘ P⌘ P⌘ P
If this button is pressed, all the usages found are displayed under their respective packages.
groupByFileStructure Group by file structure
Ctrl+MCtrl+MCtrl+MCtrl+MCtrl+MCtrl+MCtrl+MCtrl+MCtrl+MEditorScrollToCenterEditorScrollToCenterEditorScrollToCenterShift ⌘ M
If this toggle is on, the found usages are shown under the corresponding method nodes.
img Merge usages from the same line
Ctrl+F or Alt+F3Ctrl+F or Shift+Alt+3Ctrl+F or Shift+Alt+3Ctrl+F or Alt+F3Ctrl+Alt+S, Alt+F3 or Ctrl+SCtrl+F or Alt+F3Ctrl+F or Alt+F3Ctrl+F or Alt+F3⌘+F or Alt+F3⌘ F⌘ F or Alt F3⌘ F⌘ F or Alt F3
If this toggle is on, the duplicate usages found on the same line are merged.
showReadAccess Show read access
Ctrl+RCtrl+RCtrl+RCtrl+RShift+Alt+5Ctrl+HCtrl+HCtrl+FAlt+⌘+F⌘ R⌘ R⌘ R⌘ R
This button is available for Find Usages only.
If this button is pressed, the search results include references to the read access methods.
showWriteAccess Show write access
Ctrl+WCtrl+WCtrl+WCtrl+WCtrl+Alt+WCtrl+WShift+Alt+PeriodShift+Alt+UpCtrl+W or Shift+⌘+BAlt Up⌘ WControl Shift UpControl W
This button is available for Find Usages only.
If this button is pressed, the search results include references to the write access methods.
showImportStatements Show import statements
Ctrl+ICtrl+ICtrl+ICtrl+ICtrl+ICtrl+Shift+ICtrl+IShift+Alt+PCtrl+Alt+OControl I⌘ IControl I⌘ I
This button is available for Find Usages only.
If this button is pressed, the search results include the usages in the import statements.
previewUsages Preview usages Turns showing the Preview pane on or off.
sortAlphabetically Sort members alphabetically Click this button to have all members sorted alphabetically. Otherwise, members are sorted in the order they are declared.

Context menu commands

Item Shortcut Description
Jump to Source F4F4F4F4F4F4F4F12 or Ctrl+Shift+EF4⌘ Down or F4F4F3F4 Navigate to the selected usage in the source code.
Exclude DeleteDeleteDeleteDeleteDelete or Ctrl+DDeleteDeleteDeleteDelete or ⌘+BackspaceDelete, Backspace or ⌘ BackspaceDelete, Backspace or ⌘ BackspaceDelete, Backspace or ⌘ BackspaceDelete or ⌘ Backspace Exclude the selected item from the list of results, with all nested subelements. The excluded nodes are shown strikethrough. If you perform the Replace All or Refactor All actions, the excluded elements won't be affected.
Include InsertInsertInsertInsertInsertInsertInsertInsertInsertShift BackspaceInsertShift BackspaceInsert Include previously excluded items in the list of results. All nested subelements are included too.
Add to Favorites Add selected node to the Favorites list.
Recent Find Usages Ctrl+ECtrl+ECtrl+ECtrl+ECtrl+ECtrl+EShift+F4Ctrl+EShift+Alt+F⌘ E⌘ E⌘ E⌘ E Show the list of recent searches. Select an item in the list to see the search results.

See Also

Procedures:

Getting Started:

Web Resources: