Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I disable the autocomplete function in Jupyter notebook(Tab)

I typed "Summary" outside the cell and change the config of Jupyter notebook. When I press Tab, the autocomplete menu pop out, but I only want 4 spaces when I press Tab. I Google this question and try something like:

%config IPCompleter.greedy=False

However, I still have the autocomplete menu when I press Tab. How can I disable it?

like image 713
H.Peter Avatar asked Sep 05 '25 03:09

H.Peter


1 Answers

There is an extension called 'Hinterland' for jupyter, which automatically displays the drop down menu when typing or control when it should appears . There are also some other useful extensions.

In order to install extensions, you can follow the guide on this Github repository . To easily activate extensions, you may want to use the extensions configurator.

To install Hinterland run in a Conda terminal this:

conda install -c conda-forge jupyter_nbextensions_configurator

To enable it :

jupyter nbextension enable hinterland/hinterland