简体   繁体   English

在 Jupyter Notebook 中获取 Google Colab 自动完成功能

[英]Get Google Colab autocomplete in Jupyter Notebook

I recently started using Google Colab and absolutely love the autocomplete UI.我最近开始使用 Google Colab 并且非常喜欢自动完成 UI。 I usually code in Jupyter Notebook and hence am used to an autocomplete which only returns the single methods and takes a second or two to load.我通常在 Jupyter Notebook 中编码,因此习惯于自动完成,它只返回单个方法并且需要一两秒才能加载。 Google Colab on the other hand is instant, returns the method and also tells you the expected arguments and a description of what a method does.另一方面,Google Colab 是即时的,它返回方法并告诉您预期的 arguments 以及方法作用的描述。 I love it, it reminds me of my old days in eclipse.我喜欢它,它让我想起了我在 eclipse 的旧时光。

Therefore I wanted to ask if there is a module/plugin for Jupyter Notebook to have this UI.因此,我想问一下 Jupyter Notebook 是否有一个模块/插件来拥有这个 UI。 Otherwise, is there a different IDE like Jupyter (with these code snippets) with the advanced autocomplete functions?否则,是否有不同的 IDE 像 Jupyter(带有这些代码片段)具有高级自动完成功能? Possibly open source.可能是开源的。 Thanks.谢谢。

You can try to use the Hinterland , it's an extension that enable code autocompletion menu for every keypress in a code cell, instead of only calling it with tab.您可以尝试使用Hinterland ,它是一个扩展,可为代码单元格中的每个按键启用代码自动完成菜单,而不是仅使用选项卡调用它。

You can lean how to enable an extension in here , and read more about Hinterland in here .您可以在此处了解如何启用扩展,并在此处阅读有关Hinterland的更多信息

I hope it helped you我希望它对你有帮助

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 递归错误(Jupyter Notebook/Google Colab) - Recursion Error(Jupyter Notebook/Google Colab) 在 jupyter notebook 和 google colab 中使用.so - Using .so in a jupyter notebook and google colab 如何在 Google Colab 上实现这个 Jupyter Notebook? - How to implement this Jupyter notebook on Google Colab? 在 Django 应用程序中嵌入 jupyter notebook/google colab - embedding jupyter notebook/ google colab in Django app 如何在 google colab(python,Jupyter notebook)中安装预定义的包(类)? - How to install a predefined package(class) in google colab(python,Jupyter notebook)? 如何将 pyscipopt 导入 Google Colab(在 Jupyter Notebook 文件中)? - How to import pyscipopt to Google Colab (in the Jupyter Notebook file)? 如何真正分享上传到Google Colab的Jupyter笔记本? - How to really share a Jupyter notebook uploaded to Google Colab? 在 pip 在本地安装 google-colab 后,Jupyter 笔记本卡住了 - Jupyter notebook stuck after pip install google-colab on local 在 Google Colab 平台上的 Jupyter Notebook 中显示/渲染 HTML 文件 - Display / Render an HTML file inside Jupyter Notebook on Google Colab platform 有没有办法在本地 Jupyter 笔记本中使用 Google Colab 表单功能? - Is there a way to use Google Colab Form feature in a local Jupyter Notebook?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM