Hi.
I'm trying to create a list of labels(Tags) for pygtk.
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.
I searched all emails from the list but did not find a specific answer to my problem.
I appreciate any help
Regards
Am Mittwoch, den 22.09.2010, 13:06 -0400 schrieb cristian abarzua:
Hi.
I'm trying to create a list of labels(Tags) for pygtk.
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.
I searched all emails from the list but did not find a specific answer to my problem.
I appreciate any help
Hi Christian,
is it possible you've set the "Characters to type for autocompletion"-setting in Edit->Preferences->Editor->Completions to actually four chars? That would explain the behaviour, since "gtk" is three chars.. :)
Regards, Dominic
Hi Dominic.
Thank you for the answer.
No, this is not the problem. The problem is that Geany does not recognize my file tags and do not know why.
Regards.
SO : Ubuntu 10.04 Desktop: Gnome 2.30 Geany : 0.18
2010/9/22 Dominic Hopf dmaphy@googlemail.com:
Am Mittwoch, den 22.09.2010, 13:06 -0400 schrieb cristian abarzua:
Hi.
I'm trying to create a list of labels(Tags) for pygtk.
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.
I searched all emails from the list but did not find a specific answer to my problem.
I appreciate any help
Hi Christian,
is it possible you've set the "Characters to type for autocompletion"-setting in Edit->Preferences->Editor->Completions to actually four chars? That would explain the behaviour, since "gtk" is three chars.. :)
Regards, Dominic
-- Dominic Hopf dmaphy@googlemail.com
Key Fingerprint: A7DF C4FC 07AE 4DDC 5CA0 BD93 AAB0 6019 CA7D 868D
Geany mailing list Geany@uvena.de http://lists.uvena.de/cgi-bin/mailman/listinfo/geany
On Wed, 22 Sep 2010 13:06:24 -0400 cristian abarzua abarzuaf@gmail.com wrote:
Hi.
I'm trying to create a list of labels(Tags) for pygtk.
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.
I searched all emails from the list but did not find a specific answer to my problem.
I appreciate any help
Can you please post the output, when starting geany with --verbose from command line? Could you also provide the tag-file if possible?
Cheers, Frank
On Wed, 22 Sep 2010 13:06:24 -0400 cristian abarzua abarzuaf@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
Hi.
Thanks for the reply, the solution was to install Ubuntu 9.10 with Geany 0.18
Regards.
Cristian
2010/9/23 Nick Treleaven nick.treleaven@btinternet.com:
On Wed, 22 Sep 2010 13:06:24 -0400 cristian abarzua abarzuaf@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 _______________________________________________ Geany mailing list Geany@uvena.de http://lists.uvena.de/cgi-bin/mailman/listinfo/geany
Hi.
The main problem to create a list of tags for pygtk is the character "." (dot)
The basename Geany is known for, but not the String Path
Example:
gtk.Window.set_title("Hello Wordl")
gtk.Window.set_title is show, but not ("Hello Wordld")
Is there any possible solution?
Regards
Cristian Abarzúa F
2010/9/23 cristian abarzua abarzuaf@gmail.com:
Hi.
Thanks for the reply, the solution was to install Ubuntu 9.10 with Geany 0.18
Regards.
Cristian
2010/9/23 Nick Treleaven nick.treleaven@btinternet.com:
On Wed, 22 Sep 2010 13:06:24 -0400 cristian abarzua abarzuaf@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 _______________________________________________ Geany mailing list Geany@uvena.de http://lists.uvena.de/cgi-bin/mailman/listinfo/geany
On Thu, 23 Sep 2010 22:22:39 -0400 cristian abarzua abarzuaf@gmail.com wrote:
Hi.
The main problem to create a list of tags for pygtk is the character "." (dot)
The basename Geany is known for, but not the String Path
Example:
gtk.Window.set_title("Hello Wordl")
gtk.Window.set_title is show, but not ("Hello Wordld")
Is there any possible solution?
Sorry, I don't understand the issue here :) Can you please be so kind and give a more detailed example?
Cheers, Frank
On Thu, 23 Sep 2010 11:31:59 -0400 cristian abarzua abarzuaf@gmail.com wrote:
Thanks for the reply, the solution was to install Ubuntu 9.10 with Geany 0.18
What did you use before?
Cheers, Frank