Open rlabbe opened 5 years ago
Thanks for reporting. I can reproduce this problem but it's not something we can solve here but in Jedi, which is the underlining library that provides code completions for us (I verified that that's the case by passing your code directly to Jedi).
Description
What steps will reproduce the problem?
Enter the following code into an empty editor
Now with the cursor at the t at the very end, type a period. This pops up a hint balloon, but it displays the help for the class Foo, "my documentation here". The autocomplete window displays the choices foo, x, and y - the parameter names of nada. It doesn't make any sense to complete t. with, for example, t.foo or t.x, but these are the options provided to me.
This is a super simplified example of what I'm seeing regularly. I'm passing variables in in the form var.attribute, and when I type the period it shows me the documentation for the first variable in the parameter list, and the autocomplete list is well, long and not related to the parameter I am trying to enter.
This is the simplest failure case that I can generate based on my real code base.
Versions
Dependencies