# Search Menu

Allows you to Search for text or PHP elements in your workspace.

The options available from the Search menu are:

Name | Shortcut | Description
--- | --- | ---
Search | Ctrl+H | Opens the PHP Search dialog. PHP Search enables you to locate declarations of PHP Classes, Functions and Constants. For more, see Searching for PHP Elements.

File

Opens the File Search dialog.
File Search enables you to locate text in all files in your workspace.
To run a File Search or Replace:

- Enter the required text to be searched for.
- Select the types of files to search in. Click 'Choose' for a full list of file type extensions.
- Select whether to search in:
  1. Workspace - The entire workspace.
  2. Selected resources - Select these in PHP Explorer view before opening the Source dialog.
  3. Enclosing projects - The projects which the selected resources are in.
  4. Working Set - Click 'Choose' to select the required Working Set.
- To search for the string, click Search. Search results will be displayed in the Search view. To replace the string, click Replace. The Replace dialog will open.

#### Note

By default, the PHP Search dialog will be tabbed with the File Search dialog. To make the PHP Search dialog unavailable, click Customize within the File Search dialog and unmark the PHP Search dialog option.

Text | Ctrl+Alt+G | Workspace -Searches the Workspace for text selected in the editor. Project - Searches the current active project for text selected in the editor. File - Searches the current active file for text selected in the editor. Working Set - Searches the current active Working Set for text selected in the editor.

#### Related Links:

- Menus
- File
- Edit
- Source
- Refactor
- Navigate
- Project
- Run
- Window
- Help