没有标签的JupyterLab自动完成 [英] JupyterLab autocomplete without tab

查看:129
本文介绍了没有标签的JupyterLab自动完成的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

每次要自动完成时按Tab键似乎很耗时.理想情况下,您只需输入前几个字母,然后获得一个下拉列表,而无需按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.

在Jupyter笔记本电脑中,您可以安装一些扩展程序以获得此功能. https://github.com/ipython-contrib/jupyter_contrib_nbextensions

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

可以在JupyterLab上获得它吗?

Is it possible to get this on JupyterLab?

谢谢

推荐答案

jupyterlab-lsp 扩展程序将此功能作为选择加入功能.在JupyterLab 3.0+中安装扩展程序(此jupyterlab-lsp和您选择的语言服务器-请参阅链接的说明)后,您需要在Advanced Settings EditorCode CompletioncontinuousHinting中启用它:

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

免责声明:我是作者之一.此功能仍在开发中.

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

这篇关于没有标签的JupyterLab自动完成的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆