Searching for a File by Text in the File

You can do full-language text searches on files, using a substring or a regular expression. The search engine (like the Java language) is case-sensitive. Only objects that match the exact combination of upper-case and lower-case characters that you entered are returned.

To do a full-text search:

  1. Choose Edit Search Filesystems from the main window.
  2. Click the Full Text tab in the Customize Criteria dialog box.
  3. In the Text Contains panel, click the Substring or Regular Expression radio button and type the search criteria.
  4. Press Search.

Results are displayed in the Search Results window as Explorer-style file nodes.

If you select one of these nodes, a Search Details panel appears showing the positions where the search text appears in the file. Double-click one of these entries to open the file in the Source Editor with the insertion point placed just after the selected position.

Click Show All Details to print a complete list of occurrences of the search text in the Output Window.

See also
Searching for a File by Object Name

Searching for a File by Type

Searching for a File by Date

Searching for Files by CVS Status



Predefining Search Criteria

Modifying Existing Search Criteria

Searching With a Combination of Criteria

Exploring With the Search Results Window

Legal Notices