WebStorm 8.0.0 Web Help

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

Item Tooltip and shortcut Description
settings1 Options
CtrlShift+Alt+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+F5Command RControl F5Command 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+WControl Shift F4Shift Command F4Command W
Close the current tab. This button is not available in Replace in Path and Refactoring Preview dialogs.
pin2.png Pin When 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+ECommand ECommand ECommand 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+EqualsCommand NumPad or Command EqualsCommand NumPad or Command EqualsCommand NumPad or Command 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+MinusCommand NumPad - or Command MinusCommand NumPad - or Command MinusCommand NumPad - or Command 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+UpAlt Command UpAlt Command UpAlt Command Up
Ctrl+Alt+DownShift+Alt+DownCtrl+Alt+DownCtrl+Alt+DownCtrl+Alt+DownCtrl+Alt+DownAlt+DownCtrl+Alt+DownAlt Command DownAlt Command DownAlt Command Down
Navigate to the previous/next element in the tab of results.
img Autoscroll to source Toggle 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 Favorites Click 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.gif Help
F1F1F1F1F1F1F1F1ContextHelpF1ContextHelp
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
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+DMeta+DCtrl+DCtrl+D, Ctrl+Shift+Down or Ctrl+Shift+UpCtrl+DCommand DCommand DCommand 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+PCommand PCommand PCommand 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+MEditorScrollToCenterEditorScrollToCenterEditorScrollToCenter
If this button is pressed, the found usages show 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+F3Command FCommand F or Alt F3Command F
If this button is pressed, the duplicate lines are merged.
showReadAccess Show read access
Ctrl+RCtrl+RCtrl+RCtrl+RShift+Alt+5Ctrl+HCtrl+HCtrl+FCommand RCommand RCommand 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+UpAlt UpCommand 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+IShift+Alt+PControl ICommand IControl 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 If 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 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+ECommand Down or F4F4F3 Navigate to the selected usage in the source code.
Exclude DeleteDeleteDeleteDeleteDelete or Ctrl+DDeleteDeleteDeleteDelete or BackspaceDeleteDelete 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 InsertInsertInsertInsertInsertInsertInsertInsertShift BackspaceInsertShift 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+ECommand ECommand ECommand 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: