Printable idea sheet
file_references
reqlan rq/extension/language/syntax/features-syntax.rq:113
Katz 0.118
A file reference should act as a link in the editor.
If the target file is empty or has a parse error, the link should remain available and clickable, but should show a warning underline.
If the target file is missing, show an error underline and do not create a document link — see file_reference_errors.
Same-file and imported idea bracket references use the same editor activation as file targets.
See editor_reference_activation.
Implemented by reqlan-file-link-resolver.ts, reqlan-document-link-provider.ts, reqlan-definition-provider.ts, and reqlan-validator.ts.
- tests
- linking.test.ts:document links resolve test file references to the matching test, references.test.ts:keeps colons inside the test name suffix, linking.test.ts:classifyReferenceUri treats existing directories as folders, linking.test.ts:folder file references resolve without reading the directory as a file, linking.test.ts:empty file references produce document links and warning diagnostics, linking.test.ts:parse-error file references produce document links and warning diagnostics, linking.test.ts:missing file references do not produce document links, linking.test.ts:same-file idea references produce document links
Interactive page: file_references