Starting a search

Text strings can be searched for in the Workbench as follows:

  1. In the Workbench toolbar, click the search button Search button.
  2. In the Containing text field, type in: it
    The combo box for the Containing text field also displays a list of recently performed searches to select from.
    Search dialog
  3. The Case sensitive check box can be selected or deselected depending on whether or not a case sensitive or insensitive search is to be performed.
    For this example, check the Case sensitive box to search for lowercase "it".
  4. The kinds of files to include in the search can be specified in the File name patterns field. Click Browse... to open the Select Types dialog. This dialog provides a quick way to select from a list of registered extensions.
    Type Selection Dialog
    For the moment, the search will be confined to .txt files. Ensure *.txt is checked and click OK.
  5. In the Scope field, specify the files and folders to include in the search. The choices are: the entire workspace, the currently selected resources in the Workbench, or a working set which is a named, customized group of files and folders. Leave the scope as workspace.
  6. Use the Customize button to choose what kinds of searches are available in the dialog. This setting may be left unchanged.
  7. Click Search.
    Note: Cancel can be clicked to cancel the search while it is in progress and the Search dialog will show the progress of the search.

    Search Dialog

  8. Observe that the Search view displays:
    Search view

The next section will describe how to work with the Search view.

 Copyright IBM Corporation 2000, 2003. All Rights Reserved.