PY-47962 Start-match non-imported module names in completion

This way we further reduce the number of irrelevant completion items suggested
effectively in every expression context, e.g. not suggesting "parser" and
"calendar" modules for the "ar" prefix, only something like "argparse" or
"array". The same applies to the completion of attributes with unresolved
qualifiers.

GitOrigin-RevId: 7a58053c4744c3d0066c379a4f190ffd09bfabd1
This commit is contained in:
Mikhail Golubev
2022-02-23 11:55:19 +00:00
committed by intellij-monorepo-bot
parent 5ca605ccab
commit db8e5c2e2e
18 changed files with 26 additions and 2 deletions