There are several easy to use commands to navigate through Ada code. All these functions are available through the Ada menu, and you can also use the following key bindings or the command names. Some of these menu entries are available only if the GNAT compiler is used, since the implementation relies on the GNAT cross-referencing information.
ada-move-to-start). If point is at the end of a subprogram, this command jumps to the corresponding
beginif the user option
nil(default), otherwise it jumps to the subprogram declaration.
ff-find-other-file). If point is in a subprogram, position point on the corresponding declaration or body in the other file.
ada-find-references). Use C-x ` (
next-error) to visit each reference (as for compilation errors).
ada-xref-create-ali variable is non-
will try to run GNAT for you whenever cross-reference information is
needed, and is older than the current source file.