WebStorm 6.0.1 Web Help

View | Tool Windows | Find

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.

In this section:

Toolbar buttons

ItemTooltip and shortcutDescription
settings1 Options
CtrlAlt+Shift+F7
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+F5Control F5Control F5Control F5
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+WMeta Shift F4Meta Shift F4Meta W
Close the current tab. This button is not available in Replace in Path and Refactoring Preview dialogs.
pin2.png PinWhen this button is pressed, the current tab will not be overwritten; instead, the results of the next command will be displayed in a new tab.
arrowBack Recent find usages
Ctrl+ECtrl+ECtrl+ECtrl+ECtrl+ECtrl+EShift+F4Ctrl+EMeta EMeta EMeta E
Show the list of recent find usages. Clicking the desired entry opens results of the selected search for usages.
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+EqualsMeta NumPad or Meta EqualsMeta NumPad or Meta EqualsMeta NumPad or Meta 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+MinusMeta NumPad - or Meta MinusMeta NumPad - or Meta MinusMeta NumPad - or Meta Minus
Click this button to have all nodes expanded or collapsed.
arrowUparrowDown Previous/next occurrence
Ctrl+Alt+UpAlt+Shift+UpCtrl+Alt+UpCtrl+Alt+UpCtrl+Alt+UpCtrl+Alt+UpAlt+UpCtrl+Alt+UpMeta Alt UpMeta Alt UpMeta Alt Up
Ctrl+Alt+DownAlt+Shift+DownCtrl+Alt+DownCtrl+Alt+DownCtrl+Alt+DownCtrl+Alt+DownAlt+DownCtrl+Alt+DownMeta Alt DownMeta Alt DownMeta Alt Down
Navigate to the previous/next element in the tab of results.
img Autoscroll to sourceToggle the Autoscroll to source mode. When the button is pressed, every time the node is focused, the corresponding line of source code is highlighted in the editor.
icon_star FavoritesClick this button to add found usages to favorites.
exportToTextFile Export to Text File
Alt+OAlt+OAlt+OAlt+OAlt+OAlt+OAlt+OAlt+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.gifHelp
F1F1F1F1F1F1F1F1F1F1F1
Click this button to show reference.
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:
  • comments
  • unclassified usage not related to any of the categories
groupByTestProductionGroup by test/productionIf this button is pressed, the usages are grouped according to the Production and Test scopes.
groupByModule Group by module
Ctrl+DCtrl+DCtrl+DCtrl+DMeta+DCtrl+DCtrl+D, Ctrl+Shift+Down or Ctrl+Shift+UpCtrl+DMeta DMeta DMeta 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.

groupByPackageGroup by package
Ctrl+PCtrl+PCtrl+PCtrl+PCtrl+PCtrl+PCtrl+PCtrl+PMeta PMeta PMeta P
If this button is pressed, all the usages found are displayed under their respective packages.
groupByFileStructureGroup by file structure
Ctrl+MCtrl+MCtrl+MCtrl+MCtrl+MCtrl+MCtrl+MCtrl+MNothingNothingNothing
If this button is pressed, the found usages show under the corresponding method nodes.
imgMerge usages from the same line
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 F3
If this button is pressed, the duplicate lines are merged.
showReadAccessShow read access
Ctrl+RCtrl+RCtrl+RCtrl+RAlt+Shift+5Ctrl+HCtrl+HCtrl+FMeta RMeta RMeta 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+WAlt+Shift+PeriodAlt+Shift+UpMeta WMeta WControl Shift Up
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+IAlt+Shift+PMeta IMeta IMeta 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 usagesIf this button is pressed, the preview of the selected usage appears in the Preview pane of the tool window. If the button is not pressed, the Preview pane is hidden.
sortAlphabetically Sort members alphabeticallyClick this button to have all members sorted alphabetically. Otherwise, members are sorted in the order they are declared.

Context menu commands

ItemShortcutDescription
Jump to Source F4F4F4F4F4F4F4F12 or Ctrl+Shift+EF4F4F3 Navigate to the selected usage in the source code.
Exclude DeleteDeleteDeleteDeleteDelete or Ctrl+DDeleteDeleteDeleteDeleteDeleteDelete or Backspace Exclude the selected item from the list of results, with all nested subelements. The excluded nodes are marked with the strikethrough. If you perform Do Replace All or Do Refactor All actions, the excluded elements are skipped.
Include InsertInsertInsertInsertInsertInsertInsertInsertInsertInsertShift Backspace Include previously excluded items to 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+EMeta EMeta EMeta E Show the list of recent find usages. Clicking the desired entry opens results of the selected search for usages.

See Also

Procedures:

Getting Started:

Web Resources: