如何在不使用选项卡的情况下在 jupyter notebook 中自动完成? [英] How to get autocomplete in jupyter notebook without using tab?

查看:30
本文介绍了如何在不使用选项卡的情况下在 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=True

%config IPCompleter.greedy=True

但这需要按下标签按钮

推荐答案

有一个扩展名为 Hinterland 用于 jupyter,它在输入时自动显示下拉菜单.还有一些其他有用的扩展.

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天全站免登陆