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
Is there a way of fixing this bug?
I already made a bug report about that.
The link above does not work.
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
There it works:
on my machine:
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 ?
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.