I am running IPython on Windows 7 x64 with pyreadline installed. If I start a new session and type:
import numpy
nu<TAB>
Then nu
autocompletes to numpy
. However, if I start a new session and try this:
import numpy
n<TAB>
Then nothing happens. I would expect it to cycle through all of the possible completions. I'm currently using out of the box config, do I need to change a setting to enable ambiguous tab completion or am I just out of luck?
EDIT: To address the comment from ma3204, here is another example (start with fresh ipython session):
[In 1]: value1 = 5
[In 2]: value2 = 6
[In 3]: va<TAB> ... nothing happens
[In 3]: va<Ctrl + l>
vars value2 value1
[In 3]: val<TAB> ... completes to 'value'
[In 3]: value
[In 3]: value<Ctrl + l>
value2 value1
[In 3]: value
When I type va<TAB>
above I would expect each tab press to cycle through value1
, value2
, vars
, value1
, value2
, etc.