ipython / ipykernel

IPython Kernel for Jupyter
https://ipykernel.readthedocs.io/en/stable/
BSD 3-Clause "New" or "Revised" License
646 stars 367 forks source link

chaining methods should be easier #318

Open pleabargain opened 6 years ago

pleabargain commented 6 years ago

versions python 3.5 jupyter notebook v 5.4.1

I would like to chain methods in ipython/jupyter I get suggestions on first method but when I attempt to chain methods I get ipynb_checkpoint. See attached gifs for demo of behavior.

first gif I should get options like 'mean' but I get ipynb_checkpoint. chaining-method-fail-peek-2018-03-31-08-52

second gif I type two brackets and code completion fails entirely. I am hitting tab after [['J']] but nothing get suggested. more-tab-completion-issues-peek-2018-03-31-10-58

I should get method suggestions after typing a . but I don't. i should get code completion suggestions but i do not peek 2018-04-02 14-44

takluyver commented 6 years ago

Finding the right completions is a tricky task. What version of the IPython package do you have?

pleabargain commented 6 years ago

ipython3 --version 6.2.1

takluyver commented 6 years ago

In 6.x, we use the Jedi library for Python completions. We filed an issue against Jedi for a similar case: https://github.com/davidhalter/jedi/issues/1027 . If that's similar enough, then things might improve with the next release of Jedi.

pleabargain commented 6 years ago

@takluyver Thanks for the update.