ctags: using with nedit: (1) jumping to function calls? (2)
command line switches? (3) Exuberant ctags?
Tony Balinski
ajbj at free.fr
Wed Nov 7 23:47:15 CET 2007
Quoting Randy Kramer <rhkramer at gmail.com>:
> Tony,
>
> Thanks! I have a followup question below.
>
> On Wednesday 07 November 2007 07:43 am, Tony Balinski wrote:
> > I use
> > ctags -e -R --excmd=pattern --extra=fq --fields=afiKmsSz \
> > --C-kinds=+cdefgmnpstuvx --C++-kinds=+cdefgmnpstuvx \
> > -o TAGS
> > which I think probably gives me just about everything. You do get
> multiple
> > entries for both definition and declaration, though, which may be
> annoying.
> > The emacs format (incompatible with vi) is less wasteful of diskspace.
>
> What version of ctags are you using?
>
> I'm using:
>
> ctags (GNU Emacs 21.3)
> Copyright (C) 1999 Free Software Foundation, Inc. and Ken Arnold
>
> ... and I don't see all those options--just for starters, -e is flagged as
> an invalid option.
Yup: pretty vital. I've been using Exuberant CTags for ages now:
Exuberant Ctags 5.5, Copyright (C) 1996-2003 Darren Hiebert
Compiled: Jun 5 2003, 10:00:19
Addresses: <dhiebert at users.sourceforge.net>, http://ctags.sourceforge.net
Optional compiled features: +wildcards, +regex, +internal-sort
It's easy to get, build, use etc. It also adds extra information to each entry
that can be useful.
Tony
More information about the Develop
mailing list