Display project-local options at top of ctrl+space list
Brought to you by:
fabioz
When I type e.g.
logger.debug("foo")
and then find that logger is highlighted red, "undefined variable", I go to the end of logger and hit ctrl+space in order to auto-add the import. The logger definition I want is in another file in my project. That import option does appear in the ctrl+space list, but not at the top of the list; the logger variable in the cookielib module appears at the top (presumably just because of alphabetization)
Name definitions in other files of my own project are likely what I intended, when I type a reference to an undefined variable. So for usability, those should be placed at the top of the list, perhaps with a separator between them and the rest of the options.