Files
openide/python/testData/quickFixes/PyAddImportQuickFixTest/orderingWithExistingImport/src.py
aleksei.kniazev a4c6f8d8bd IDEA-CR-45845: new ordering rules for completion and autoimport quickfix (PY-20976)
items defined in the project > items from the standard library > items from other libraries
doesn't start or end with _ > starts with _ > starts with _ > starts and ends with __
items with no leading _ in import path > with leading _ in import path
function/variable/class > module/directory
less items in the import path > more items in the import path

GitOrigin-RevId: 7fba600668d7f7eab4dbd5d3891811cfe2501b89
2019-08-01 12:04:14 +03:00

1 line
72 B
Python

path = "local value, so it should take precedence if there is no import"