PHP Search

PHP Search enables users to locate declarations of PHP Classes, Functions and Constants. Results of searches are displayed in a separate Search pane.

Searching

You can activate PHP Search by any of the following:

  1. Click the Search button () on the toolbar, or:

  2. Click Ctrl+H, or:

  3. Select Search | Search from the menu bar.

The following dialog will appear:

Figure:  PHP Search

  1. Enter the Search String and select Class or Function or Constant. You may use the standard wild cards (* and ?) in the string field. In addition, you may require that the search be Case Sensitive.

  2. Select the Scope (Workspace, Selected Resources, Enclosing Projects or Working Set).

  3. Click Search. The results will be displayed in the Search Results pane.

Figure:  PHP Search Results

Customize

Use this option to select the available tabs when the Search function is activated.

Figure:  Customize Search Tabs

Integration with Editor

The search result pane is integrated with the Editor.

  1. Double click a result in the Search Pane. The Editor will jump to that instance.

  2. Click the Show Next/Previous Match button ();
    the Editor will jump to the Next / Previous instance of the search result.

Search History
The results of previous searches expressions that were used previously can be viewed and restored from a drop-down list. All values associated with a previous expression will be restored in the dialog if the expression is used again.
  1. Click the arrow on the Previous Searches button (). The list of previous searches will be displayed.

  1. Select the search to display; it will be displayed in the Search Result pane

History Size

The size of the history list is configurable.

  1. Click the  Previous Searches button (not the arrow) on the Search pane toolbar (). The list of Previous Searches  will appear.

Figure:  Previous Searches

  1. Click Configure. The Configure History dialog will appear. Select the size of the Search History and click OK.

Search Result Toolbar

Button

Explanation

Show Next / Previous Match

Remove Selected / All Matches

Expand All / Collapse All

Group by Project

Group by File

Group by Type

Run the Current Search Again

Cancel Current Search

Search History

Pin the Search View

Hotkeys

The following hotkeys are available:

Sequence

Explanation

Esc / Alt+F4

Closes the Search dialog.

Alt + a

Brings the cursor to the Search string field.

Alt + i

Checks / Unchecks the Case Sensitive checkbox

Alt + c

Checks the Search For Class radio button.

Alt + f

Checks the Search For Function radio button.

Alt + o

Checks the Search For Constant radio button.

Alt + w

Checks the Workspace radio button

Alt+d

Checks the  Resources radio button

Alt + j

Checks the Project radio button

Alt + k

Checks the Working set radio button

Alt + h

Checks the Working sets button

Alt + z

Customize the Search Page.

Alt + s

Perform the search.