如何在IPython Notebook Server 3中看到函数参数? [英] How can I see function arguments in IPython Notebook Server 3?

查看:82
本文介绍了如何在IPython Notebook Server 3中看到函数参数?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我最近切换到了Anaconda版本的IPython Notebook 3(确切地说是3.1.0-cbccb68).以前,当我键入一个函数并打开一个这样的括号时:

I've recently switched to IPython Notebook 3 (3.1.0-cbccb68 to be exact), the Anaconda version. Previously when I typed a function and opened a parenthesis like this:

time.sleep()

,如果光标在括号之间,那么我将获得一个显示功能参数的上下文覆盖菜单.现在,我没有看到它,尽管已经搜索了,但无法找到如何启用此功能的方法.

and if the cursor was between the parentheses then I would get a contextual overlay menu that displayed the function arguments. Now I don't see it, and although I've searched, I can't find out how I can turn on this functionality.

推荐答案

在1.0中,该功能已绑定到(tabshift-tab,在2.0中已弃用tab,但在某些明确的条件下仍可正常工作在许多情况下,完成或检查案件的工作是相互竞争的.建议始终使用shift-Tab.还添加了(,因为它在类似于Haskell的语法中令人迷惑,因为它在更多情况下也可以将人们推向Shift-Tab.在3.0中,已弃用的绑定已被删除,以支持正式发布,现在已存在18个月以上..

In 1.0, the functionality was bound to ( and tab and shift-tab, in 2.0 tab was deprecated but still functional in some unambiguous cases completing or inspecting were competing in many cases. Recommendation was to always use shift-Tab. ( was also added as deprecated as confusing in Haskell-like syntax to also push people toward Shift-Tab as it works in more cases. in 3.0 the deprecated bindings have been remove in favor of the official, present for 18+ month now Shift-Tab.

所以按Shift-Tab.

这篇关于如何在IPython Notebook Server 3中看到函数参数?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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