You are here: User Guide > Reference > PHP Perspective Menus > Search Menu

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 File Search dialog.

File Search enables you to locate text in all files in your workspace.

To run a File Search or Replace:

  1. Enter the required text to be searched for.

  2. Select the types of files to search in. Click 'Choose' for a full list of file type extensions.

  3. Select whether to search in:

  • Workspace - The entire workspace.

  • Selected resources - Select these in PHP Explorer view before opening the Source dialog.

  • Enclosing projects - The projects which the selected resources are in.

  • Working Set - Click 'Choose' to select the required Working Set.

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

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:

  1. Enter the required text to be searched for.

  2. Select the types of files to search in. Click 'Choose' for a full list of file type extensions.

  3. Select whether to search in:

  • Workspace - The entire workspace.

  • Selected resources - Select these in PHP Explorer view before opening the Source dialog.

  • Enclosing projects - The projects which the selected resources are in.

  • Working Set - Click 'Choose' to select the required Working Set.

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

PHP

 

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

References

 

Workspace - Finds all references to the selected Java element in the Workspace.

Project - Finds all references to the selected Java element in the project.

Working Set - Finds all references to the selected Java element in the Working Set.

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

 

 

©1999-2012 Zend Technologies LTD. All rights reserved.