mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-08 23:39:39 +07:00
By giving them an explicit priority lower than the default. Unfortunately, it doesn't remedy the problem with short module names, such as "re" or "sys", always being on top when they completely match the entered prefix. At the moment this behavior is hard-coded in the platform and cannot be altered by language plugins. It's not caused by the "liftShorter" classifier. Also, explicitly prioritizing various lookup elements has become quite messy and scattered across PyCompletionWeigher and specific contributors. It begs to be refactored, but will be addressed separately. GitOrigin-RevId: d6f6ad06f5d68f3de7b866b8240a95b785604649