To find declarations of or references to any program element in code in the workspace,
use the Search dialog. Launch the Search dialog box by clicking the Search button
on the toolbar, or by
selecting Search from the Workspace menu.
In the Search dialog box, specify the following criteria:
Click Start to start the search. The number of occurrences found are shown as the search runs. Click Stop to halt the search and pass any results on to the Search Results window. Click Cancel to cancel the search without reporting any found occurrences.
The results of the search, if any occurrences were found, are added to the Search Results window, which also lists the results of previous searches. The Description pane lists all the searches run in this session. If you select one of the searches, the Results pane shows the list of elements in which the declarations or references are made for the selected search. If you select one of the elements, the Source pane displays the program element's source code, with the first declaration or reference highlighted.
You can re-run the search from the Search Results window to update the list of occurrences as the workspace changes.
Workspace
Repository
Projects and Other Program Elements
Searching for a Program Element in the Workspace
Searching for a Program Element in the Repository
Searching for Text in a Source Pane