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.

To do a full-text search:

  1. In the Explorer, right-click the directory you want to search and choose Find from the contextual menu. You can search all files in the displayed filesystems by choosing Edit and choosing Search Filesystems.
  2. Click the Full Text tab in the Search Filesystems dialog box.
  3. Click the Substring or Regular Expression radio button. Then type the search criteria in the corresponding field.

    If you select Substring, you can check Match Case to limit the search to items with the exact combination of upper case and lower case characters. You can select Match Whole Words Only to exclude matches when the search text comprises only part of the word.

  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. The file will open with the search text highlighted, and the insertion point will be placed just after the selected occurrence of the search text.

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

Click Show in Explorer to open the Explorer with the file's node selected.

See also
Searching for a File by Object Name
Searching for a File by Type
Searching for a File by Date
Searching for a File by VCS Status

Saving and Reusing Search Criteria
Modifying Existing Search Criteria
Searching With a Combination of Criteria
Exploring With the Search Results Window

Legal Notices