Printable idea sheet
import_code_completion_match_quality
reqlan rq/extension/language/support/features-imports.rq:285
Katz 0.070
Rank path candidates by match quality before import_code_completion_ranking proximity: an exact substring match outranks a separator-stripped substring match, which outranks an ordered character subsequence match.
Within the subsequence tier, a match where every `/` - separated query chunk appears inside a path segment outranks a loose character subsequence.
This keeps precise matches above coincidental subsequence matches, so the bounded result list keeps the intended target.
import_code_completion_substring_match
import_code_completion_match_quality
- implementation
- path_completion.rs, reqlan-path-completion.ts
- tests
- completion.rs:ranks_exact_substring_matches_above_subsequence_matches, completion.rs:ranks_segment_matches_above_subsequence_matches, completion.test.ts:ranks exact substring matches above subsequence matches, completion.test.ts:ranks segment matches above subsequence matches
Interactive page: import_code_completion_match_quality