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 checkbox can be selected or deselected depending on whether or not a case sensitive or insensitive search is to be performed. You can also select the Regular expression checkbox to enable more powerful searching capabilities. To see what is available in regular expression mode, you can hit Ctrl-Space over the text field to get content assistance that lists the possibilities. For this example, just 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 Choose... 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. At this point, the Search view will be made visible, and it will begin to fill in with the results of the search. The stop button in the Search view can be clicked to cancel the search while it is in progress.
  8. Observe that the Search view displays:

    Search view

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