Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!usc!bbn!oliveb!pyramid!ctnews!mitisft!andrew From: andrew@mitisft.Convergent.COM (Andrew Knutsen) Newsgroups: comp.lang.c++ Subject: Re: tags and pretty printing for C++ programs Message-ID: <1245@mitisft.Convergent.COM> Date: 29 Sep 89 02:07:33 GMT References: <664@unicads.UUCP> Organization: Convergent Technologies, San Jose, CA Lines: 27 in article <664@unicads.UUCP>, tom@unicads.UUCP (Tom Gerardy) says: > Posted: Wed Sep 27 13:20:35 1989 > 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 modified ctags to allow "::" inside function names, so you can always use the tag command to get the one you want. However, to really make tags work, vi has to be able to figure out which class the member you're pointing at is in. This doesnt look as easy. Another snag is inlines declared in the class def... Andrew PS this ctags was previously hacked by someone else, so I dont feel comfotable distributing it. AK -- -------- andrew@convergent.com -or- ctnews!andrew (408) 435-3623