IPython完整建议清单

时间:2013-11-07 14:06:43

标签: ipython

我希望在IPython中看到完整的可能建议列表,而不是图像中的建议。

你需要做什么命令?

Ipython Tab

1 个答案:

答案 0 :(得分:1)

如果按Tab键两次,则可以使用箭头键浏览该列表。

您还可以在配置文件目录中的文件ipython_qtconsole_config.py中更改此设置,在三种不同类型的完成者之间切换(执行ipython locate profile以查看其位置):

# The type of completer to use. Valid values are:
# 
# 'plain'   : Show the available completion as a text list
#             Below the editing area.
# 'droplist': Show the completion in a drop down list navigable
#             by the arrow keys, and from which you can select
#             completion by pressing Return.
# 'ncurses' : Show the completion as a text list which is navigable by
#             `tab` and arrow keys.
c.IPythonWidget.gui_completion = 'ncurses'