10

I am running some cell in an iPython notebook. I used the %%debug command in the head of the cell. Now, when i am on ipdb prompt and i hit the ctrl+space or tab, auto complete can't seem to be working.

How to use auto complete?

1
  • There is no tab completion in the debugger when using any of the Jupyter frontends. Because of the design, there is not currently an easy way to do that. Commented Mar 19, 2016 at 18:56

1 Answer 1

4

Install pyreadline:

pip install pyreadline

Open jupyter notebook & run the following in one the cell:

%config IPCompleter.greedy=True

Whenever you want to do autocomplete, just press TAB.

Works for me !!!

Sign up to request clarification or add additional context in comments.

3 Comments

What operating system, etc. were you using? With firefox on OSX this doesn't work for me. The tab key just moves me into the next jupyter window. Any suggestions? Cheers.
same on windows 10
Hey - i'm facing same situation on OSX, firefox. Did you solve yours?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.