Should be able to get help on an object mid-command #98

Closed
ipython opened this Issue May 10, 2010 · 3 comments

Comments

Projects
None yet
2 participants
@ghost
Collaborator

ghost commented May 10, 2010

Original Launchpad bug 397227: https://bugs.launchpad.net/ipython/+bug/397227
Reported by: endolith (Endolith).

Currently if you type "zeros?" and press Enter, it will display help on the zeros command.

You should also be able to type things like "a = zeros?" and press Enter, and it will display the help for the zeros command, and then return you to the command you were typing when you exit.

@ghost

This comment has been minimized.

Show comment Hide comment
@ghost

ghost May 10, 2010

Collaborator

[ LP comment 1 by: Fernando Perez, on 2010-04-25 23:50:12.950928+00:00 ]

Good idea. It's easier to do in a GUI, where the help can be popped up in a non-obtrusive manner.

But for a terminal, we should look at the %rep code which already puts user input back into a line, and use that same mechanism.

Collaborator

ghost commented May 10, 2010

[ LP comment 1 by: Fernando Perez, on 2010-04-25 23:50:12.950928+00:00 ]

Good idea. It's easier to do in a GUI, where the help can be popped up in a non-obtrusive manner.

But for a terminal, we should look at the %rep code which already puts user input back into a line, and use that same mechanism.

@takluyver

This comment has been minimized.

Show comment Hide comment
@takluyver

takluyver May 29, 2011

Owner

I too often wish for this. I'll look into it, although it might not land before 0.11.

Owner

takluyver commented May 29, 2011

I too often wish for this. I'll look into it, although it might not land before 0.11.

@ghost ghost assigned takluyver May 29, 2011

@takluyver

This comment has been minimized.

Show comment Hide comment
@takluyver

takluyver Jun 23, 2011

Owner

In the end, it did get in before 0.11. See commit 665bef4.

Owner

takluyver commented Jun 23, 2011

In the end, it did get in before 0.11. See commit 665bef4.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment