maverick
maverick

Reputation: 447

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

Upvotes: 29

Views: 40755

Answers (2)

krassowski
krassowski

Reputation: 15379

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.

Upvotes: 33

PacuS
PacuS

Reputation: 109

In Jupyterlab < 4.1.0 you can go to:

  1. Settings Editor
  2. Code Completion
  3. Enable autocompletion.

previewofuittoenableautocompletion

Upvotes: 7

Related Questions