Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

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

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

ipython opened this issue May 10, 2010 · 3 comments
Assignees
Milestone

Comments

@ipython
Copy link
Collaborator

ipython 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.

@ipython
Copy link
Collaborator Author

ipython 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
Copy link
Member

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
Copy link
Member

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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant