Auto complete not working in another code block under the same session
I tried the code as shown in the example document. I first import matplotlib.pyplot and numpy in the first session code block In the org-mode ipython mode buffer for this code block, I can get auto complete after I do np. or plt. However when I started another code block under the same session, the auto complete no longer works. It was clearly shown working in the screenshot provided by @gregsexton, so I wonder if anyone has the same problem and could give me some suggestions? Thanks in advance
Some information: I use Elpy for the python mode, which use company mode for auto completion.
I am also interested in this. Is it a technically feasible feature?
Hello there, sorry for necro-bumping, but this seems to be unresolved? I got the same issue. Anyone figured it out?
I'm also be very interested in a solution for this issue.
Everyone using elpy?
I'm using elpy, but I would switch to anything else which makes auto-completion work with ob-ipython.
I am using elpy as well.
I would switch to anything else which makes auto-completion work with ob-ipython
I just use raw python-mode and everything works fine for me. I tend to open a repl using C-c C-v C-z - I think that helps.
I'll take a look at elpy when I get chance.
I happen to have the same issue mentioned here using elpy as well.
I have discovered that autocompletion only works by explicitly calling the command company-ob-ipython.
I have already added the line (add-to-list 'company-backends 'company-ob-ipython) to my emacs config file, but does not seem to change this behaviour.
Hi, I use C-c ' to switch to major mode when inside an iPython SRC block as mentioned in org documentation Link. I am attaching the screenshot of the predictions that I am getting. I am using latest version of spacemacs and the jupyter notebook on arch linux.
Hope it helps someone.
.
Same issue here. Using company-ob-ipython for completion causes massive lag when typing in the org-src-edit. But when using elpy, its in a different session and thus does not recognise completions for earlier defined functions.
Has anyone solved this? Also having the same issue with spacemacs.
Currently company-ob-ipython works for me but it doesn't automatically come as a tool tip.