PhpStorm 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.

On this page:

Toolbar buttons

Item Tooltip and shortcut Description
settings1 Options
CtrlShowSettingsAndFindUsageShowSettingsAndFindUsageShowSettingsAndFindUsageShowSettingsAndFindUsageShowSettingsAndFindUsageShowSettingsAndFindUsageShowSettingsAndFindUsageShowSettingsAndFindUsageShowSettingsAndFindUsageShowSettingsAndFindUsageShowSettingsAndFindUsage
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 RCommand RCommand 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 F4Control Shift F4Command 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+ECommand ECommand ECommand 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+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 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+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
F1F1F1F1F1F1F1F1ContextHelpContextHelpContextHelp
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:
  • 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 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+F3Command FCommand FCommand F
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+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 UpAlt UpControl 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 IControl 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 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+ECommand Down or F4Command Down or F4F3 Navigate to the selected usage in the source code.
Exclude DeleteDeleteDeleteDeleteDelete or Ctrl+DDeleteDeleteDeleteDelete, Backspace or Command BackspaceDelete, Backspace or Command BackspaceDelete, Backspace or Command 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 InsertInsertInsertInsertInsertInsertInsertInsertShift BackspaceShift BackspaceShift Backspace 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+ECommand ECommand ECommand 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: