NetBeans Forums
| View previous topic :: View next topic |
| Author |
Message |
Strider
Joined: 27 Nov 2009 Posts: 1
|
Posted: Fri Nov 27, 2009 2:39 am Post subject: Python and GTK 2.0 autocompletion |
|
|
Netbeans is great for Python but it would be greater if autocompletion worked as intended. I explain.
I'm currently working on a Python project using the GTK+ library (pygtk),
I can't get the autocompletion to work with it.
I have some autocompletion but it gives me all sort of unrelated results like wxWidgets or functions from other programs that are installed on my system like Miro for example.
I tried adding directories to python's path like /usr/lib/pyshared/python2.6/gtk-2.0/ but it didn't change anything.
I'm suspecting that Netbeans is only indexing .py files and that some symbols are in .so files and they don't get indexed, is that correct ?
I also tried Netbeans 6.8 beta (I'm using 6.7.1 from the Ubuntu 9.10 repositories) and it was the same.
I can still use Netbeans and it's still good but it would be so much better if autocompletion worked as it should ! |
|
| Back to top |
|
 |
Melongo Annabel Posted via mailing list.
|
Posted: Mon Nov 30, 2009 5:47 pm Post subject: Python and GTK 2.0 autocompletion |
|
|
Strider,
Can you please add your vote to this feature request at: https://netbeans.org/bugzilla/show_bug.cgi?id=170081
From: Strider <address-removed>
To: address-removed
Sent: Thu, November 26, 2009 8:40:30 PM
Subject: [nbusers] Python and GTK 2.0 autocompletion
Netbeans is great for Python but it would be greater if autocompletion worked as intended. I explain.
I'm currently working on a Python project using the GTK+ library (pygtk),
I can't get the autocompletion to work with it.
I have some autocompletion but it gives me all sort of unrelated results like wxWidgets or functions from other programs that are installed on my system like Miro for example.
I tried adding directories to python's path like /usr/lib/pyshared/python2.6/gtk-2.0/ but it didn't change anything.
I'm suspecting that Netbeans is only indexing .py files and that some symbols are in .so files and they don't get indexed, is that correct ?
I also tried Netbeans 6.8 beta (I'm using 6.7.1 from the Ubuntu 9.10 repositories) and it was the same.
I can still use Netbeans and it's still good but it would be so much better if autocompletion worked as it should ! |
|
| Back to top |
|
 |
adamgmetzler
Joined: 27 Mar 2010 Posts: 22
|
Posted: Sat Mar 27, 2010 11:50 am Post subject: The problem is netbeans does index python native libraries. |
|
|
The problem is that netbeans does not index python native libraries like pygtk or PyOpenGL, or pyqt, or wxPython.
This has nothing to do with the previous mentioned bug. It will index some of these libraries functions if they are in a pure python module. I have been waiting for this to be fixed for about 2 years. It seems that the python development has stalled. I wish they would finish this Early Access plugin so I can drop eclipse for good, this is the only thing stopping me from deleting it from my system. Currently eclipse has superior python support with the PyDev plugin. I wish python would get the love from the netbeans devs it so deserves! |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum
|
|