Object-based Searching with the Find Uses
Page
The Find Uses page is an even more compact
and powerful method of searching than the Live Find and the
Search page. Find Uses allows you to search by object, not just
by text string.
The scope of the Find Uses search is the
entire project.
Try a Find Uses Search
With the payroll sample project open, click
the Find Uses button in the Project
section.
The Find Uses page shows three panes:
- a Declarations view of the project (a
list of all declarations in the project) in the upper
left pane
- the Find Uses view of the declaration
object selected in the left-hand pane
- the Source view, in the bottom pane.
In the Declarations view, select the first
object (class employee). Two things happen:
- The right-hand pane is updated with a
report on the uses of the employee class (number and
location). The number of uses found (4) includes the
definition of employee class.
- The bottom pane updates the source
view to the first location in the source where class
employee appears. If you select another occurrence from
the reported list, the source view updates again.
Back to More on the IDE