TEAM-ADA Archives

Team Ada: Ada Programming Language Advocacy


Options: Use Forum View

Use Proportional Font
Show Text Part by Default
Condense Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
"Team Ada: Ada Advocacy Issues (83 & 95)" <[log in to unmask]>
Simon Wright <[log in to unmask]>
Tue, 7 Nov 2000 23:21:17 +0000
<"B21ZYSMFWQNQ*/R=FBDCVD/R=A1/U=MCCABE JOHN/"@MHS> ([log in to unmask])
Simon Wright <[log in to unmask]>
text/plain (27 lines)
> From: [log in to unmask]
> >The Rational Apex browser will "jump" to the definition of an item with a
> >single click (same window or bring up another window), regardless of whether
> >name is qualified or not.  Numerous Rational Apex users get "hooked" on the
> >browser for this feature alone.
> How much does it cost?

Quite a lot. And you can't get it on Linux.

> Clearly Apex (and other compilers) rely on a 'project' based
> approach with sources being 'registered' to provide this
> functionality. Although GNAT has started using project files which
> presumably allow this, it is still possible to use GNAT without this
> project facility and, in these case, searching through the source
> (with Emacs extensions :-) is the way to do it.

Once the code has compiled (and there's a similar restriction with
Apex). you can skip straight to the definition with ada-mode (C-c

As far as this is concerned, the GNAT project files control switches,
name of executable etc, but really as far as this problem is concerned
it's just the path that counts; no need to register sources. Or
ability, for that matter :-)