Starting a search

You can search for text strings in the Workbench as follows:

  1. In the Workbench toolbar, click the Search button Search button.

  2. In the Search Expression field, type in: it.

    The combo box for the Search Expression field also lets you select from a list of recently performed searches.

    Search dialog

  3. You can select or deselect the Case sensitive check box depending on whether or not you want to perform a case sensitive or insensitive search. 

    We want to search for lowercase "it" so check the Case sensitive box. 

  4. In the File name patterns field you can specify the kinds of files to include in your search. 

    Click Browse...  to open the Type Selection Dialog. This dialog provides you with a quick way to select from a  list of registered extensions.

    Type Selection Dialog

     For the moment we will confine our search to .txt files. Ensure .txt is checked and click OK.

  5. In the Scope field you can 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. The Customize button allows you to choose what kinds of searches are available in the dialog. This setting may be left unchanged. 

  7. Click Search.

    Note that you can click Cancel to cancel the search while it is in progress and that the Search dialog shows the progress of the search.

    Search Dialog

  8. Observe that the Search view displays: 

    Search view

In the next section we will learn how to work with the Search view.

Next topic The Search view

Back to previous topic Searching

 Copyright IBM Corporation 2000, 2002. All Rights Reserved.