Printable idea sheet
import_code_completion_ranking
reqlan rq/extension/language-support/features-imports.rq:106
Rank import path completions by directory proximity ( hop count from the completing file's directory to the candidate's directory ), then directories before files, then path alphabetically.
Example: typing `../` ranks `../close.rq` before `../../../path.rq`.
Emit sortText for that order, and set filterText so the editor does not re-rank by label fuzzy score over proximity.
Interactive page: import_code_completion_ranking