I managed to get completion working... one thing bothers me though: every time I do a completion, e.g.
In [4]: imp(point is here and I press TAB)
I get
In [4]:
In [4]: import
This would not be that annoying. But inside function definitions, when I press CR after the following:
def f():
if 2 > 1:(point is here and I press CR)
I get
In [5]: def f():
....: if 2 > 1:
Display all 296 possibilities? (y or n)
so it seems to me that the completion feature is somehow connected to the CR, which is bound to ipython-send-and-indent. When on a line on its own, the string before point gets completed, but with a preceding CR. When inside function definitions, a CR results into the above completion prompt, as if I had pressed TAB on an empty line...
I hope I made myself clear, or at least comprehensible.
I managed to get completion working... one thing bothers me though: every time I do a completion, e.g.
In [4]: imp(point is here and I press TAB)
I get
In [4]:
In [4]: import
This would not be that annoying. But inside function definitions, when I press CR after the following:
def f():
if 2 > 1:(point is here and I press CR)
I get
In [5]: def f():
....: if 2 > 1:
Display all 296 possibilities? (y or n)
so it seems to me that the completion feature is somehow connected to the CR, which is bound to ipython- send-and- indent. When on a line on its own, the string before point gets completed, but with a preceding CR. When inside function definitions, a CR results into the above completion prompt, as if I had pressed TAB on an empty line...
I hope I made myself clear, or at least comprehensible.
Ideas / suggestions?