如何在Jupyter Notebook中获得自动完成功能而不使用制表符? [英] How to get autocomplete in jupyter notebook without using tab?

查看:437
本文介绍了如何在Jupyter Notebook中获得自动完成功能而不使用制表符?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在笔记本中获得自动完成功能,即当我键入内容时,会出现一个下拉菜单,其中包含我可能键入的所有可能内容,而无需按Tab键.有这样的事吗?

I would like to get an autocompletion feature in notebooks i.e. when I type something, a dropdown menu appears, with all the possible things I might type, without having to press the tab button. Is there such a thing?

我尝试过:

%config IPCompleter.greedy =真

%config IPCompleter.greedy=True

但这需要按下选项卡按钮

but this requires the tab button to be pressed

推荐答案

有一个扩展名为

There is an extension called Hinterland for jupyter, which automatically displays the drop down menu when typing. There are also some other useful extensions.

为了安装扩展,您可以按照 github存储库上的指南进行操作.要轻松激活扩展程序,您可能需要使用扩展程序配置器.

In order to install extensions, you can follow the guide on this github repo. To easily activate extensions, you may want to use the extensions configurator.

这篇关于如何在Jupyter Notebook中获得自动完成功能而不使用制表符?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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