reqlanOverviewIdeasFilesCode filesClustersAttributesGraphPrint
Ideas/triggers

Idea detail

triggers

reqlan rq/indexer/indexer.rq:51

block

Summary

Index refresh behaviour ( capability detail in features-graph-analysers.rq ):
- indexing_incrementality / nonblocking_index — incremental where possible
- indexing_trigger_filesave / idea_index_triggers — on `.rq` file change
- indexing_trigger_manual — manual reindex commands
- indexing_trigger_open — one soft sync after the activity-bar first-paint gate
- indexing_trigger_auto — idle background mtime staleness check ( cheap; not a full reindex )
Editor watches + idle scheduler: index-service.ts; headless syncs on runtime activate.

Jump to outbound references

Jump to inbound references

Navigation

Source file

reqlan rq/indexer/indexer.rq

community 36

community cluster

indexer.rq

file cluster

reqlan rq/indexer

folder cluster

status: Not present

status cluster

tag: Not present

tag cluster

Printable page

Static print-friendly idea sheet.

Attributes

No attributes declared.

Ancestor context

nonblocking_index

Index sync must stay non-blocking for the host UI ( notably [activity_bar_doc.activity_bar] and [workspace_pane_doc.workspace_loading] ). Editor startup is gated by ["../extension/activation.rq".first_paint_startup]; discovering a base must not construct Langium services, which are initialized lazily on the first parse. While syncing, surface progress — state, processed / total, and the current file — in [workspace_pane_doc.workspace_pane] and [ideas_summary_doc.index_panel]. In-flight sync must be cancellable from those surfaces; cancel keeps already-indexed rows and returns the index to ready. Incremental behaviour ( see also [graph_analysers.indexing_incrementality] ): - Single-file create / change / delete via watchers indexes only that file — never a full base walk. - Soft full sync ( `syncWorkspace` / Refresh ) skips parse + persist when the file's mtime matches the value stored on the documents row. - Hard refresh ( `clearAndRebuildIndex` / Clear & rebuild ) wipes the store and reindexes every file. Implemented by [workspace_index]; editor adapter [editor_index_adapter].

Outbound references

KindIdeaPathSnippet
file_reference editor_index_adapter packages/extension/src/analytical_submodule/index-store/index-service.ts index-service.ts
file_reference graph_analysers reqlan rq/extension/features-graph-analysers.rq features-graph-analysers.rq
references nonblocking_index reqlan rq/indexer/indexer.rq nonblocking_index

Inbound references

KindIdeaPathSnippet
None

Unresolved references

KindIdeaPathSnippet
references idea_index_triggers idea_index_triggers
references indexing_incrementality indexing_incrementality
references indexing_trigger_auto indexing_trigger_auto
references indexing_trigger_filesave indexing_trigger_filesave
references indexing_trigger_manual indexing_trigger_manual
references indexing_trigger_open indexing_trigger_open

Local graph

Initialising graph…