Idea detail
file_reference
reqlan rq/reference_types.rq:84
block
done
Summary
Outbound reference to a file, folder, or symbol — not only `.rq`.
Syntax: reference_file ( bracketed quoted path, optional `L#` / symbol path ).
Index edge kind `file_reference`. Resolve: file-reference-resolve.ts; extract: extract.rs.
Editor links: file_references.
Inbound file-reference CodeLens at the top of the target file:
file_inbound_code_lens.
Non- `.rq` targets and inbound comment traffic: referenced_files.
Markdown `label(target)` also stores this edge kind — see link_reference.
Quoted body text is not this kind: reference_edgecase.
Navigation
Attributes
| Key | Value |
|---|---|
| implementation | file-reference-resolve.ts, extract.rs, types.ts, reqlan.langium, reqlan-file-link-resolver.ts |
| status | done |
| tests | file-reference-resolve.test.ts, linking.test.ts:empty file references produce document links and warning diagnostics, linking.test.ts:folder file references resolve without reading the directory as a file, references.test.ts:finds embedded file references in @tests lists |
Ancestor context
No ancestor chain recorded.
Outbound references
Inbound references
| Kind | Idea | Path | Snippet |
|---|---|---|---|
| references | click_output | reqlan rq/cli/click.rq | file_reference |
| references | click_code_file | reqlan rq/cli/click.rq | file_reference |
| references | file_reference_errors | reqlan rq/extension/language/support/language-server-errors.rq | file_reference |
| references | file_inbound_code_lens | reqlan rq/extension/language/syntax/features-syntax-highlighting.rq | file_reference |
| references | index_comment_reference_inclusion | reqlan rq/indexer/indexer.rq | file_reference |
| references | inline_code | reqlan rq/language/syntax.rq | file_reference |
| references | naked_strings_in_body | reqlan rq/language/syntax.rq | file_reference |
| references | reference_types | reqlan rq/ontology.rq | file_reference |
| references | link_reference | reqlan rq/reference_types.rq | file_reference |
| references | url_reference | reqlan rq/reference_types.rq | file_reference |
| references | reference_edgecase | reqlan rq/reference_types.rq | file_reference |
Unresolved references
| Kind | Idea | Path | Snippet |
|---|---|---|---|
| None | |||
Local graph
Initialising graph…