comp.lang.ada
 help / color / mirror / Atom feed
From: "Jeffrey R. Carter" <spam.jrcarter.not@spam.not.acm.org>
Subject: Re: how do do with IDE ? Do they really suck or do I do not know how to handle GPS ?
Date: Thu, 15 Mar 2018 18:37:58 +0100
Date: 2018-03-15T18:37:58+01:00	[thread overview]
Message-ID: <p8eb1m$g11$1@dont-email.me> (raw)
In-Reply-To: <37f38cbf-dd15-465c-9b89-7a53d9094971@googlegroups.com>

On 03/14/2018 11:53 PM, Mehdi Saada wrote:
> 
> Is it me, or is it stupidly hard to have GPS find the original definition of a type ? Said otherwise: why doesn't "goto file spec<->body seem to work on constants ? What I want to trace back a constant declaration ?

"Goto file spec<->body" just goes to the file containing the other part of the 
unit in the current file. It's not for going to a specific declaration. For 
that, put the cursor in the identifier of interest, right click, and click on 
"Goto declaration of X" (sometimes followed by "(best guess)"). This will 
usually take you to the declaration of the identifier.

If you want to know the type of a constant object, that will be all you need. If 
you want to know the declaration of the type, you'll have to do that again on 
the type name.

-- 
Jeff Carter
"Beyond 100,000 lines of code you
should probably be coding in Ada."
P. J. Plauger
26


      parent reply	other threads:[~2018-03-15 17:37 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-03-14 22:53 how do do with IDE ? Do they really suck or do I do not know how to handle GPS ? Mehdi Saada
2018-03-14 23:32 ` Mehdi Saada
2018-03-15  7:57   ` Jacob Sparre Andersen
2018-03-15  7:56 ` Jacob Sparre Andersen
2018-03-15  8:51   ` gautier_niouzes
2018-03-15  8:55   ` Dmitry A. Kazakov
2018-03-15  9:43 ` Björn Lundin
2018-03-15 16:53   ` Mehdi Saada
2018-03-15 21:45     ` Randy Brukardt
2018-03-15 23:16       ` Mehdi Saada
2018-03-16 10:26         ` Björn Lundin
2018-03-15 17:37 ` Jeffrey R. Carter [this message]
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox