comp.lang.ada
 help / color / mirror / Atom feed
From: Stephen Leake <stephen.a.leake.1@gsfc.nasa.gov>
Subject: Re: Parsing tags (gnatxref)
Date: 13 Nov 2002 12:40:29 -0500
Date: 2002-11-13T17:51:24+00:00	[thread overview]
Message-ID: <ulm3x74he.fsf@gsfc.nasa.gov> (raw)
In-Reply-To: slrnat4t4e.3dp.randhol+news@kiuk0152.chembio.ntnu.no

Preben Randhol <randhol+news@pvv.org> writes:

> For vim and other utilities there are tools for using tags that are
> generated from exhuberant ctags. (http://ctags.sf.net) However ctags
> doesn't support Ada, but with gnat there is gnatxref.
> 
> gnatxref has a switch for generating Vi compatible tag lists, but it
> gives a too minimalistic list. I mean that it doesn't include
> information on what the different tags is like procedure, function,
> object etc... 

If "standard" vi (or Vim) can use this information, then "standard"
gnatxref should output it; send in a request to report@gnat.com. Since
they already generate the info, it should not be hard to add to the
"vi" output.

Better yet, get the sources, do the mod yourself, and send that in :).

> So I'm looking into making a program for parsing the full tag file
> that gnatxref can generate. However before I start doing this I
> would like to know if somebody else have already done this?

There is code in Emacs ada-mode to deal with gnatxref; I'm not sure
exactly how it works. But I guess you meant "has anybody already done
this for vim".

-- 
-- Stephe



  reply	other threads:[~2002-11-13 17:40 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-11-13 15:49 Parsing tags (gnatxref) Preben Randhol
2002-11-13 17:40 ` Stephen Leake [this message]
2002-11-14  9:59   ` Preben Randhol
replies disabled

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