Idea detail
inbound_inlay_index_performance
reqlan rq/extension/language/syntax/features-syntax-highlighting.rq:520
Summary
Computing inbound reference inlay hints for a document with many ideas must look up a
pre-pushed SQLite inbound snapshot ( unify_inbound_indexes )
in near-constant time per declaration.
Show the hints when that snapshot arrives
( lazy_features_after_outbound ).
Until the first ready snapshot arrives, hints stay empty.
Later index sync must not clear last-good with an empty mid-sync push
( inbound_snapshot_events ).
Must not call Langium `findAllReferences` / equivalent full-index scans once per idea
( that is O ( ideas × workspace refs ) and freezes the editor on dense graphs ).
Implemented by reqlan-inbound-reference-inlay-label.ts
and reqlan-inlay-hint-provider.ts.
view_references_as_inlay_hints
inbound_inlay_hints_whole_graph
Navigation
Attributes
| Key | Value |
|---|---|
| status | done |
| tests | inbound-referencer-index-perf.test.ts:inlay referencers come from the pushed snapshot, not findAllReferences, inbound-snapshot-push.test.ts, inbound-snapshot-store.test.ts |
Ancestor context
No ancestor chain recorded.
Outbound references
Inbound references
| Kind | Idea | Path | Snippet |
|---|---|---|---|
| references | view_references_as_inlay_hints | reqlan rq/extension/language/syntax/features-syntax-highlighting.rq | inbound_inlay_index_performance |
| references | inbound_inlay_hints_whole_graph | reqlan rq/extension/language/syntax/features-syntax-highlighting.rq | inbound_inlay_index_performance |
| references | file_inbound_code_lens | reqlan rq/extension/language/syntax/features-syntax-highlighting.rq | inbound_inlay_index_performance |
| references | unify_inbound_indexes | reqlan rq/indexer/cache-reuse.rq | inbound_inlay_index_performance |
| references | inbound_snapshot_events | reqlan rq/indexer/cache-reuse.rq | inbound_inlay_index_performance |
Unresolved references
| Kind | Idea | Path | Snippet |
|---|---|---|---|
| None | |||
Local graph
Initialising graph…