PhpStorm 2018.2 Help

Find Tool Window

View | Tool Windows | Find
Alt+3

On this page:

Basics

The Find tool window displays the 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.

Toolbar buttons

ItemTooltip and ShortcutDescription
icons general gearPlain svg Options
Ctrl+Shift+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.
icons actions rerun svg Rerun
N/A
Repeat the last search. This button is not available for viewing code coverage results.
icons actions close Close
Ctrl+Shift+F4
Close the current tab or the tool window. This button is not available in Replace in Path and Refactoring Preview dialogs.
icons general pin tab svg Pin Tab Click this button to pin or unpin the current tab. You may need to pin a tab to prevent it from closing automatically when the maximum number of tabs is reached in this window.
icons actions back Recent find usages
Ctrl+E
Show the list of recent searches. Select an item in the list to see the search results.
icons actions expandall svg
icons actions collapseall svg
Expand all
Ctrl+NumPad Plus
Collapse all
Ctrl+NumPad -
Use these buttons to have all nodes expanded or collapsed.
icons actions previousOccurence svg/icons actions nextOccurence svg Previous/next occurrence
Ctrl+Alt+Up
Ctrl+Alt+Down
Navigate to the previous/next element in the tab of results.
icons general autoscrollToSource Autoscroll to sourceTurns 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 FavoritesClick this button to add found usages to favorites.
icons toolbarDecorator export svg Export to Text File
Alt+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 Help
F1
Use this icon or shortcut to open the corresponding help page.
icons general filter 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+D
If this button is pressed, the found usages show under the corresponding module or library node.
icons actions GroupByPackage svgGroup by package
Ctrl+P
If this button is pressed, all the usages found are displayed under their respective packages.
groupByFileStructureGroup by file structure
Ctrl+M
If this toggle is on, the found usages are shown under the corresponding method nodes.
mergeUsagesMerge usages from the same line
Ctrl+F
If this toggle is on, the duplicate usages found on the same line are merged.
showReadAccessShow read access
Ctrl+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+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+I
This button is available for Find Usages only.
If this button is pressed, the search results include the usages in the import statements.
icons actions previewDetails svg 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

ItemShortcutDescription
Jump to Source F4 Navigate to the selected item in the source code.
Include Insert For an excluded item: include the item in the list of results.
ExcludeDeleteExclude the selected item from the list of results. (Excluded items are shown strikethrough.)

When you carry out the Replace All or the Do Refactor command, the excluded items are not affected.

RemoveCtrl+X Remove the selected item from the list of results.
Recent Find Usages Ctrl+E Show the list of recent searches. Select an item in the list to see the search results.
Add to Favorites Add selected node to the Favorites list.
Last modified: 27 July 2018

See Also