[IPython-User] Tab completion in qtconsole
Sat Oct 22 06:50:24 CDT 2011
Yeah i expected the same behavior too at same os.<TAB>
Can we go without Pager in qtconsole when completion is too long?
Shouldn't be just a 2 column list-box?
On 10/17/11, thron7 <email@example.com> wrote:
> On 10/17/2011 05:40 PM, Thomas Kluyver wrote:
>> On 17 October 2011 16:33, thron7 <firstname.lastname@example.org
>> <mailto:email@example.com>> wrote:
>> will bring up the list of members in os alright. The list is
>> so I'm able to look through it even if it exceeds the window size. But
>> the scroll size is only the height of the member list, and I cannot
>> back to the prompt where I typed the TAB. I don't know if typing does
>> anything to the prompt, it is invisible to me. I have to ESC to cancle
>> the selection list (RETURN does nothing), then I get the "os."
>> prompt again.
>> This is by design, although it is rather unclear if you're not used to
>> it. When you view tab completions or object? info longer than the
>> window, you get a pager temporarily replacing the console. Hitting q or
>> Esc takes you back to the console.
>> This actually happens in the terminal as well: if you do "import os",
>> then "os?" in a smallish terminal, it goes into a pager. But it doesn't
>> happen for tab completion.
> Actually, for me os.<TAB> does do the same in the terminal. But while
> I'm aware that I'm in a pager there, which I have to 'q'uit to get back
> to the prompt, it wasn't clear for me in the qtconsole. There, things
> seem more seamless, with the entire window being scrollable all the
> time, including all the ins and outs, so I was halfway expecting to be
> able to both see the tab completion *while* continuing to type at the
> prompt (and maybe the completion being updated). - Obviously a case of
> overshooting expections :).
> Anyway, thanks for the clarification.
> IPython-User mailing list
More information about the IPython-User