Idea detail
reference_code_completion_performance
reqlan rq/extension/language/syntax/features-syntax-highlighting.rq:405
Summary
reference_code_completion_objects must stay interactive on large workspaces.
Path completion must not re-walk the filesystem on every keystroke: cache directory listings and reuse them for import and anonymous file-reference completion.
Ranking must precompute proximity keys rather than recomputing hop distance per comparator call.
Idea-graph ranking must reuse per-document adjacency across completion requests while document versions are unchanged.
Anonymous file-reference completion may omit distant candidates after proximity ranking so the list stays bounded.
Implemented by reqlan-path-completion.ts
( `clearPathCompletionCaches`, listing cache, `sortPathCompletionCandidates` ),
reqlan-completion-provider.ts,
and reqlan-completion-context.ts.
reference_code_completion
reference_code_completion_performance
Navigation
Attributes
| Key | Value |
|---|---|
| implementation | reqlan-path-completion.ts, reqlan-completion-provider.ts, reqlan-completion-context.ts |
| status | done |
| tests | completion.test.ts:anonymous file references complete code files, folders, and .rq files, completion.test.ts:completes ideas and ideasets after a quoted file path, completion.test.ts:completes ideaset members after a dotted qualifier, completion-perf.test.ts, completion-perf.test.ts:cached path completion does not re-read directories, completion-perf.test.ts:large-tree anonymous completion stays under budget |
Ancestor context
No ancestor chain recorded.
Outbound references
Inbound references
| Kind | Idea | Path | Snippet |
|---|---|---|---|
| references | reference_code_completion_objects | reqlan rq/extension/language/syntax/features-syntax-highlighting.rq | reference_code_completion_performance |
Unresolved references
| Kind | Idea | Path | Snippet |
|---|---|---|---|
| None | |||
Local graph
Initialising graph…