Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

JupyterLab autocomplete without tab

Pressing tab each time you want to automcomplete seems time-consuming. Ideally, you just type in the first couple of letters and you get a drop down list without pressing tab.

In Jupyter notebook, there were some extensions that you could install to get this functionality. https://github.com/ipython-contrib/jupyter_contrib_nbextensions

Is it possible to get this on JupyterLab?

Thanks

like image 714
maverick Avatar asked Oct 18 '19 06:10

maverick


1 Answers

The jupyterlab-lsp extension offers this as an opt-in feature. After installing the extension in JupyterLab 3.0+ (which is two part: jupyterlab-lsp and the language server of your choice - see the linked instructions) you need to enable it in Advanced Settings EditorCode CompletioncontinuousHinting:

enter image description here

Disclaimer: I am one of the authors. This feature is still under development.

like image 182
krassowski Avatar answered Sep 21 '22 11:09

krassowski