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?
To enable code autocomplete in Jupyter Notebook or JupyterLab, you just need to hit the Tab key while writing code. Jupyter will suggest a few completion options. Navigate to the one you want with the arrow keys, and hit Enter to choose the suggestion.
Latex and Unicode completion IPython and compatible frontends not only can complete your code, but can help you to input a wide range of characters. In particular we allow you to insert a unicode character using the tab completion mechanism.
Both ! and % allow you to run shell commands from a Jupyter notebook. % is provided by the IPython kernel and allows you to run "magic commands", many of which include well-known shell commands. ! , provided by Jupyter, allows shell commands to be run within cells.
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 !!!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With