Search code examples
jupyterjupyter-lab

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


Solution

  • 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.