没有标签的JupyterLab自动完成 [英] JupyterLab autocomplete without tab
问题描述
每次要自动完成时按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 Editor
→Code Completion
→continuousHinting
中启用它:
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 Editor
→ Code Completion
→ continuousHinting
:
免责声明:我是作者之一.此功能仍在开发中.
Disclaimer: I am one of the authors. This feature is still under development.
这篇关于没有标签的JupyterLab自动完成的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!