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

Only suggest packages when in a "from" #12939

Open
cedricvanrompay opened this issue May 1, 2021 · 0 comments
Open

Only suggest packages when in a "from" #12939

cedricvanrompay opened this issue May 1, 2021 · 0 comments

Comments

@cedricvanrompay
Copy link

If I type from datetime. and then hit <Tab>, iPython suggests many things such as datetime.date, datetime.timezone... However none of these suggestions have a chance to be valid because datetime is not a package.

I think it would be useful that iPython detects that we are in a from and only suggests packages. Without this, autocompletion is pretty useless when in a from.

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

No branches or pull requests

2 participants