Idea detail
any_file_scope
reqlan rq/extension/local-context/context-scope.rq:22
Summary
The active editor may be a requirement file or implementation file ( Python, TypeScript, etc. ).
current_file_context must surface requirement links even when the file contains no block ideas.
Signals for non-. rq files ( and. rq files without a caret idea ):
- file_reference_links: `.rq` ideas whose outbound `file_reference` edges target this file path ( for example `./apythonfile.py` ).
- folder_reference_links: `.rq` ideas whose `file_reference` targets a parent folder of this file.
- comment_reference_links: ideas resolved from `rq:…` tokens in this file's comments per references_in_functional_code_comments.
- git_context: focus-centric git history ( recent commits, authors, branch ); working-tree dirty badge secondary.
Focus behaviour:
- `.rq` file with caret in a block → idea focus ( unchanged ).
- Any file with linked requirements → file focus; `effectiveCenterId` defaults to the first linked requirement.
- No links → file focus with empty related lists; graph / refs panes stay idle until a requirement is focused.
Implementation: context-model.ts uses file-path-match.ts and `file_related_requirements` analyser; comment links are also resolved from live buffer text when indexed edges are absent.
Navigation
Attributes
No attributes declared.
Ancestor context
No ancestor chain recorded.
Outbound references
| Kind | Idea | Path | Snippet |
|---|---|---|---|
| references | current_file_context | reqlan rq/extension/local-context/context-scope.rq | current_file_context |
| references | file_reference_links | reqlan rq/extension/local-context/context-scope.rq | file_reference_links |
| references | folder_reference_links | reqlan rq/extension/local-context/context-scope.rq | folder_reference_links |
| references | comment_reference_links | reqlan rq/extension/local-context/context-scope.rq | comment_reference_links |
| references | references_in_functional_code_comments | reqlan rq/extension/language/comment-references/functional-code-comment-references.rq | references_in_functional_code_comments |
| references | git_context | reqlan rq/extension/local-context/context-scope.rq | git_context |
| file_reference | ../../../packages/extension/src/activity_bar_module/context-model.ts | packages/extension/src/activity_bar_module/context-model.ts | context-model.ts |
| file_reference | ../../../packages/analytical/src/core/file-path-match.ts | packages/analytical/src/core/file-path-match.ts | file-path-match.ts |
Inbound references
| Kind | Idea | Path | Snippet |
|---|---|---|---|
| references | context_scope | reqlan rq/extension/local-context/context-scope.rq | any_file_scope |
| references | context_dimensions | reqlan rq/extension/local-context/context-scope.rq | any_file_scope |
| references | implementation_priority | reqlan rq/extension/local-context/context-scope.rq | any_file_scope |
Unresolved references
| Kind | Idea | Path | Snippet |
|---|---|---|---|
| None | |||
Local graph
Initialising graph…