[Geany-devel] R Tags
Nick Treleaven
nick.treleaven at xxxxx
Thu Nov 11 15:32:55 UTC 2010
On Thu, 11 Nov 2010 09:11:30 +1100
Lex Trotman <elextr at gmail.com> wrote:
> > However, even if geany -g worked on .R files, the approach would be
> > difficult to apply in practice. It requires the user to specify .R
> > files, and given the structure of R packages this could be a quickly
> > become tedious. It would have been much easier if Geany accepted a
> > path in which it could recursively scan (and parse) R files. The
> > rtags() function can do that, so it might make sense to find a
> > conversion route for etags files.
> >
>
> Whats the structure of R packages?
>
> Presuming from the above that it is lot of files in nested directories
> you could use find to run geany -g on them all. Whilst that gives you
> lots of tag files to open, I don't expect it to be too much slower
> than one huge file.
>
> Otherwise patches are welcome.
I'm not sure that reimplementing Unix find is something Geany should be
doing really. But documenting how to do that in the manual would
be a good idea.
Supporting CTags format is something on the TODO list.
You can 'see' the format in tagmanager/tm_tag.c in the tm_tag_write()
function. That is just called repeatedly for each tag entry in the file.
Nick
More information about the Devel
mailing list