[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Extending etags.el + exuberant ctags for duplicate tagdefinitions
From: |
Drew Adams |
Subject: |
RE: Extending etags.el + exuberant ctags for duplicate tagdefinitions |
Date: |
Wed, 13 Feb 2008 14:30:06 -0800 |
> From: Scott Frazer Sent: Wednesday, January 23, 2008 12:39 PM
> Nordlöw wrote:
> > I am looking for a way to extend the behaviour of find-tag
> > and similar functions (in etags.el) together with exuberant
> > ctags (either using format 1 ("tags") or 2 ("TAGS")) to propose
> > the following completions for a tag say TAG that have multiple
> > definitions say in the files fa.c and fb.c in the following way:
> >
> > Completions for TAG:
> > TAG@fa.c,
> > TAG@fb.c
> > or
> > TAG@foo()@fa.c,
> > TAG@bar()@fa.c
> >
> > Is this possible using the file formats 1 or 2 that Exuberant Ctags
> > can produce?
>
> It won't do tag-completion, but for browsing through tags
> with multiple definitions, try:
> http://www.emacswiki.org/cgi-bin/wiki/EtagsSelect
Sorry for the late posting, but maybe this will still help.
You can browse all tags (including duplicates) of all tags tables, complete
against them, and visit their source definitions, using Icicles
multi-command `icicle-search-tag'. Your minibuffer input filters the source
files to search, as well as the set of matching tags. Matching can use
regexps.
`icicle-search-tag' thus combines the functionality of standard commands
find-tag (`M-.) to find a tag, tags-loop-continue (`M-,) to find
another matching tag, tags-apropos to list all tags that match a regexp,
and list-tags to show all tags (definitions) in a given source file.
http://www.emacswiki.org/cgi-bin/wiki/Icicles_-_Tags_Enhancements
HTH.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- RE: Extending etags.el + exuberant ctags for duplicate tagdefinitions,
Drew Adams <=