-
-
Notifications
You must be signed in to change notification settings - Fork 246
Import completion advanced. #48
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
Comments
<> makes import completion return "import " instead of "import". Original Comment By: Andreas Stührk |
<> makes import completion smarter when the module is already in sys.path. Original Comment By: Andreas Stührk |
Issue #96 was marked as a duplicate of this issue. Original Comment By: Andreas Stührk |
Good luck Andy. Original Comment By: Simon de Vlieger |
I'd really like to see this feature implemented. For example, in my django projects I often have lots of classes in one file... instead of digging through my files looking for the right imports, maybe bpython could show me a nice box with all the classes in that file. Original Comment By: Anonymous |
It sounds like #96 was not implemented because importing a module before the user hits enter didn't feel right. We have import completion on both of
if datetime has already been imported (note that the second syntax only autocompletes modules inside of the datetime package, or which there aren't any, so datetime is a bad example. If we're ok with rooting around through modules (maybe with ast.py?) then this can stay open - otherwise it seems impossible given we don't want to run the code in the module. |
IPython imports the module on pressing tab at a prompt like |
It was mentioned in the IRCtubes that it would be very nice to have completion on (for instance)
from datetime import xyz
import datetime.xyz
Where xyz would complete.
The text was updated successfully, but these errors were encountered: