[Geany] Create Tags

Nick Treleaven nick.treleaven at xxxxx
Thu Sep 23 14:12:08 UTC 2010


On Wed, 22 Sep 2010 13:06:24 -0400
cristian abarzua <abarzuaf at gmail.com> wrote:

> The format I use is generally pipe and I give is:
> 
> # format=pipe
> gtk.AboutDialog||()|
> ...
> ..
> etc.
> 
> Then save the file with the name pygtk.py.tags in the folder
> ~/.config/geany/tags/
> 
> Reset Geany and create a file of type scripts (Python).
> 
> Write gtk .. but the label does not appear.

OK, first try running 'geany -v' from a terminal and look for a line
like:
Geany-INFO: Loaded /home/nmt/.config/geany/tags/gtk216.c.tags (C),
21384 tag(s).

You should get a similar line but for your tags file and in brackets it
should say (Python).

Now, there may be a problem with having a '.' in a tag name, Geany
doesn't understand about scopes. Perhaps drop the 'gtk.' in all tag
names.

Also, you might like to try generating the tags file from source, but I
don't know how hard that is for PyGTK.

Regards,
Nick



More information about the Users mailing list