Next: , Previous: The File View, Up: Description of the Main Windows


2.8 The Entity View

GPS provides an Entity View which allows you to browse and quickly find all Ada entities referenced in the currently loaded project hierarchy. This view can be accessed through the Tools->Views->Entities menu.

entity-view.jpg

This view is divided in three parts: a Pattern entry, a tree view, and a documentation view.

To query an entity, enter a search pattern in the Pattern entry. The tree view then shows a list of all known entities which start with this pattern. When an entry is selected in the tree, the documentation view displays the documentation corresponding to the selected entity.

When the File View has the focus, using the up/down arrow keys changes the selection in the tree, and pressing the Enter key opens an editor to the declaration of the selected entity. It is also possible to jump to this location by double-clicking on the line in the tree, or by clicking on the hyperlink in the documentation view.

Note that the view shows the entities that are currently loaded in memory, see Support for Cross-References.