.. _Search_Dialog:

*************
Search Dialog
*************

Select the menu `Navigate->Find or Replace...`: this will open a search
dialog.
In the `Find:` text entry type :file:`tokens.ads`. Then
select `Project view` in the `Scope` area. The search
area provides an easy way to search for text or regular expressions in
several contexts including the current file, the project view, ...

Now click on `Find`. The file :file:`tokens.ads`, in directory `struct`
is highlighted.

Close the search dialog by clicking on the `Close` button.

Note that in this specific case, a simpler way to locate a file in the
project view is to use the contextual menu from the source editor:
`Locate in Project View: tokens.ads`.

