Idea detail
file_related_requirements
reqlan rq/extension/index-host/graph-analysers.rq:45
block
Summary
The extension should provide a view or command to get requirements relating to the currently open file.
File-related lookup should follow both explicit file references and comment rq: links in that file.
Comment links are read from indexed `comment_link` edges ( index_code_files ), not only the open buffer.
click_code_file uses the same indexed backlinks and comment links when the click target is a code file.
Navigation
Attributes
| Key | Value |
|---|---|
| tests | file_context.rs:file_context_includes_indexed_comment_links, code_file_index.rs:indexes_comment_references_from_non_rq_files |
Ancestor context
No ancestor chain recorded.
Outbound references
| Kind | Idea | Path | Snippet |
|---|---|---|---|
| references | index_code_files | reqlan rq/indexer/indexer.rq | index_code_files |
| references | click_code_file | reqlan rq/cli/click.rq | click_code_file |
| file_reference | "../../../crates/reqlan-analytical/tests/file_context.rs:file_context_includes_indexed_comment_links" | crates/reqlan-analytical/tests/file_context.rs | file_context.rs:file_context_includes_indexed_comment_links |
| file_reference | "../../../crates/reqlan-index/tests/code_file_index.rs:indexes_comment_references_from_non_rq_files" | crates/reqlan-index/tests/code_file_index.rs | code_file_index.rs:indexes_comment_references_from_non_rq_files |
| comment_link | file_related_requirements | reqlan rq/extension/index-host/crates/reqlan-analytical/tests/file_context.rs | //! rq:file_related_requirements |
| comment_link | file_related_requirements | reqlan rq/extension/index-host/crates/reqlan-index/tests/code_file_index.rs | //! rq:file_related_requirements |
Inbound references
| Kind | Idea | Path | Snippet |
|---|---|---|---|
| references | click_code_file | reqlan rq/cli/click.rq | file_related_requirements |
| references | host_index_capabilities | reqlan rq/extension/index-host/graph-analysers.rq | file_related_requirements |
| references | index_code_files | reqlan rq/indexer/indexer.rq | file_related_requirements |
Unresolved references
| Kind | Idea | Path | Snippet |
|---|---|---|---|
| None | |||
Local graph
Initialising graph…