From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,a2bd7072b9f4898f X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-11-13 09:49:29 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!canoe.uoregon.edu!hammer.uoregon.edu!skates!not-for-mail From: Stephen Leake Newsgroups: comp.lang.ada Subject: Re: Parsing tags (gnatxref) Date: 13 Nov 2002 12:40:29 -0500 Organization: NASA Goddard Space Flight Center (skates.gsfc.nasa.gov) Message-ID: References: NNTP-Posting-Host: anarres.gsfc.nasa.gov Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: skates.gsfc.nasa.gov 1037209884 5612 128.183.235.92 (13 Nov 2002 17:51:24 GMT) X-Complaints-To: usenet@news.gsfc.nasa.gov NNTP-Posting-Date: 13 Nov 2002 17:51:24 GMT User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 Xref: archiver1.google.com comp.lang.ada:30820 Date: 2002-11-13T17:51:24+00:00 List-Id: Preben Randhol 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