Path: utzoo!attcan!uunet!wuarchive!mailrus!ncar!boulder!unicads!tom From: tom@unicads.UUCP (Tom Gerardy) Newsgroups: comp.lang.c++ Subject: Re: tags and pretty printing for C++ programs Keywords: ctags Message-ID: <664@unicads.UUCP> Date: 27 Sep 89 20:20:35 GMT References: <706@mit-amt.MEDIA.MIT.EDU> Reply-To: tom@unicads.UUCP (Tom Gerardy) Organization: Unicad Boulder, CO Lines: 28 In article <706@mit-amt.MEDIA.MIT.EDU> peter@mit-amt.MEDIA.MIT.EDU (Peter Schroe der) writes: >Does anybody out there in netland have a ctags type program (modification?) >to create proper tags for c++ programs when using vi? ctags just does not >like c++ programs... I've modified ctags to allow multiple entries for functions other than this it didn't seem to be greatly troubled by c++ syntax. (I was slightly amazed that it was that easy.) Tags-ing there in vi will get you to one of the entries! I also wrote a small utility called 'tag' which displays numbered alternatives for the function and lets you pick the one you want. It then launches vi with the appropriate search command. You can use from command line or, of course, with ':!tag ...' from vi... not quite as convienent as the real vi's tag function, but a close second; I can't modify vi! The bad news is that I did this work for Unicad, so I will have to get permission to distribute. This was just a tool for us not part of a product so I think chances are fair. If I can distribute, *where* should I? -tom -- - Tom Gerardy UUCP: ...!sun!sunpeaks!unicads!tom UNICAD, Inc. or: ...!ncar!{sunpeaks|boulder}!unicads!tom 1695 38th Street Boulder, Colo. 80301 (303) 443-6961