Open niklassemmler opened 2 weeks ago
Self is probably not supported. I'm pretty sure you could work around that by either removing the annotation or returning -> Builder
, but that also sounds like a bad idea.
Removing the Self
annotations (both on self
and the return) and either adding -> Builder
or leaving that empty feel like they should work here, both in ipython and in editors. If that's not working then perhaps something else is going on?
I agree. Sorry for not reading the issue description properly.
I tried again with "Builder"
and autocomplete did work. Just not in the more complicated example I have. So I must have mixed sth up when evaluating this earlier. My apologies. Still good to know that Self is not supported.
I'm reopening, because AFAIK Self is not supported. @PeterJCLaw It might be that I'm wrong here, not 100% sure.
I believe Self
is not supported yet.
Just today I figured out that Jedi has been powering my ipython/jupyter/vim experience all along. Thank you :)
To the question. Is it possible to autocomplete chained methods, e.g., for a builder pattern?
On Jedi
0.19.1
I can not get the autocomplete foradd_y
to work in either ipython or jupyter for the following example:I have experimented with
-> "Builder":
as well with the same result.Other issues:
Versions