Idea detail
import_code_completion_ranking
reqlan rq/extension/language-support/features-imports.rq:106
block
Summary
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.
Attributes
Ancestor context
No ancestor chain recorded.
| Kind | Idea | Path | Snippet |
|---|---|---|---|
| references | import_code_completion | reqlan rq/extension/language-support/features-imports.rq | import_code_completion_ranking |
| Kind | Idea | Path | Snippet |
|---|---|---|---|
| None | |||
Initialising graph…