[IPython-user] "greedy" tab completion

Scott Sinclair scott.sinclair.za@gmail....
Tue Mar 9 02:20:57 CST 2010


Forgot to send to the list..

On 9 March 2010 10:19, Scott Sinclair <scott.sinclair.za@gmail.com> wrote:
>>On 9 March 2010 09:51, Johann Rohwer <jr@sun.ac.za> wrote:
>> Fellow IPython users,
>>
>> I've noticed a recent behavior which is a bit annoying in my everyday
>> workflow, which is perhaps best illustrated with the following IPython
>> session:
>>
>> In [1]: class testclass: pass
>>    ...:
>>
>> In [2]: testclass.a=1
>>
>> In [3]: testclass.b=2
>>
>> In [4]: testc<TAB>
>>
>> In [4]: testclass
>>
>> The tab completion completes the class name but the cursor is
>> positioned after the space after the name, which makes it cumbersome
>> to inspect attributes or class methods, since I have to backspace,
>> type dot, and hit tab again to get the desired effect:
>
> Hi Johann,
>
> You might like to look at this link
> https://bugs.launchpad.net/ipython/+bug/470824
>
> It looks like you can install a fixed readline.
>
> Cheers,
> Scott
>


More information about the IPython-user mailing list