Sort auto completion results from local to global
Brought to you by:
fabioz
Currently in auto completion there is not so user friendly sort order if project is large (i.e. if you use Google App Engine + other rich api) - it is nice in small project.
It is need to sort results first local variables names (function/method/module), second global variables (same file), third external global (optionally could be sort by external modules with same root module and third party exports).
The most common programmer use case is to auto complete with local variables names or global variable from same file - very rare is to use external globals like other modules or exports.
Just to be clear, this is on the context-insensitive code completion right? (the one when the auto-import is also done)