Search in Code/BF/Comments Results


If the either feature returns any results (i.e.: matched character strings in the selected files/objects), they will be displayed automatically in the Log Window's Search in Code tab, or in the Search in Comment tab:

Results of a search carried out on a project for the string "date" for the Search in Code feature.

The Log Window also displays relevant information during the search and will inform you of any problems encountered or when no results can be found.

Viewing the code of a matched string

If you want to view the code of an object that contains a matched string, you can do so:

  1. Right click the required object in either the Search in Code tab or the Search in Comments tab
  2. Select Code Viewer from the shortcut menu (or use the F11 shortcut key).

The selected object's code will be displayed in the Code Viewer and the matched string will be underlined and marked with a bookmark:

Object Selection (Step 1) | String Selection (Step 2) | Report (Step3) | Code Viewer


CAST Website