Jedi completion not working in the notebook

27 views
Skip to first unread message

Brendan Barnwell

unread,
Jun 19, 2017, 1:43:24 AM6/19/17
to Project Jupyter
I recently was doing some stuff with Python in a Jupyer notebook and was bothered by the autocomplete behavior.  Doing a little research I saw that it's supposed to now be using Jedi for the autocompletion.  But something seems to be awry, because if I try the example here (https://mail.scipy.org/pipermail/ipython-dev/2016-May/017099.html):

('je'+'di').upper().<tab>

. . . the only completion I get is "ipynb_checkpoints/", which seems to be some kind of global generic completion.

The reason I'm asking here on Jupyter list is that the completion works correctly if I try it in a console IPython session. So it seems something is misconfigured
between IPython and Jupyter. Do I need to do something special to get this new completion working in Jupyter?


Matthias Bussonnier

unread,
Jun 19, 2017, 12:21:39 PM6/19/17
to jup...@googlegroups.com
Hi Brendan,

The Jedi API has been added to IPython _terminal_, and master of
IPykernel does make use of it. Though the notebook application does
not handle (yet) the received information. This is still experimental
as it requires some changes of the protocol we want to make sure we
get right.

Sorry for the confusion.
--
Matthias.
> --
> You received this message because you are subscribed to the Google Groups
> "Project Jupyter" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to jupyter+u...@googlegroups.com.
> To post to this group, send email to jup...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jupyter/c919067a-e24a-4518-84b7-adba5a75e576%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages