I have just installed the CodeCompletion plugin for DrPython 161 on Windows XP.
It works fine if I type a module name then ".", but if I create a new variable,
for example x = "hello world"
When I type "x." I just get the choices
x.filename
x.prepend
x.word
Is there a way of fixing this bug?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I think so, that this is platform specific;
it's more a problem of the plugin itself.
I haven't studied the code completion plugin.
But maybe a look to pycrust's code completion
could help.
There it works:
x="string"
x.capitalize
..center
........
appears.
on my machine:
C:\Python24\Lib\site-packages\wx-2.61-msw-ansi\wx\py\introspect.py
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I encountered the same bug with DrPython 161 and CodeCompletion 0.2.1 .
I've looked at the CodeCompletion source code and the bug may be within the OnAutoComplete () function.
The GetMembers () function used in OnAutoComplete() seems to work as long as you give it the proper parameter. So now I'd like to look at what GetWordOfInterest() returns.
I therefore need to print the values returned by GetWordOfInterest. Problem is, this is my first time to debug a GUI app. How do I put tracers in the plugin code ?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have just installed the CodeCompletion plugin for DrPython 161 on Windows XP.
It works fine if I type a module name then ".", but if I create a new variable,
for example x = "hello world"
When I type "x." I just get the choices
x.filename
x.prepend
x.word
Is there a way of fixing this bug?
I already made a bug report about that.
Please see:
http://sourceforge.net/tracker/index.php?func=detail&aid=1339231&group_id=83074&atid=568238
The link above does not work.
In Bugs:
http://sourceforge.net/tracker/?group_id=83074&atid=568238
"False Codecompletion".
Thank you for your reply.
Does this bug happen to everybody who uses CodeCompletion, or is it platform specific?
I think so, that this is platform specific;
it's more a problem of the plugin itself.
I haven't studied the code completion plugin.
But maybe a look to pycrust's code completion
could help.
There it works:
x="string"
x.capitalize
..center
........
appears.
on my machine:
C:\Python24\Lib\site-packages\wx-2.61-msw-ansi\wx\py\introspect.py
Okay, I will take a look at the source code of both code completion versions then.
I encountered the same bug with DrPython 161 and CodeCompletion 0.2.1 .
I've looked at the CodeCompletion source code and the bug may be within the OnAutoComplete () function.
The GetMembers () function used in OnAutoComplete() seems to work as long as you give it the proper parameter. So now I'd like to look at what GetWordOfInterest() returns.
I therefore need to print the values returned by GetWordOfInterest. Problem is, this is my first time to debug a GUI app. How do I put tracers in the plugin code ?