File: Search_Dialog.rst

package info (click to toggle)
gnat-gps 5.3dfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 50,360 kB
  • ctags: 11,617
  • sloc: ada: 374,346; ansic: 92,327; python: 15,979; xml: 12,186; sh: 3,277; makefile: 1,113; awk: 154; perl: 128; java: 17
file content (22 lines) | stat: -rw-r--r-- 718 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
.. _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`.