I am using the SublimeRope plugin. When I type from foo.b , it displays an autocomplete dialog with random crap, but what I'm really looking for is to recognize the bar module inside the foo package. However, if I type from foo import b , it immediately prompts me to import bar as a module. This means that the rope “knows” about this module. How to set up my Sublime to help me suggest importing when from foo.b ?
I am doing projects with django, so a real example cannot autocomplete me from django.contrib. but if I type from django.contrib.auth.models import U , he will prompt me to import the user.
source share