reqlanOverviewIdeasFilesCode filesClustersAttributesGraphPrint

Printable idea sheet

comment_reference_resolution_error

reqlan rq/language/syntax.rq:600

Katz 0.151

If a comment reference cannot be resolved, show it as an error diagnostic.
Do not create a document link to a missing file ( that underline then raises a generic cannot-find-file editor error ).
Related: comment_reference, comment_reference_ignore, comment_reference, references_in_functional_code_comments.

implementation
reqlan-comment-diagnostics.ts, register-comment-reference-links.ts
status
done
tests
comment-reference-resolution.test.ts, comment-reference-resolution.test.ts:reports an error when a comment reference file does not exist, comment-reference-resolution.test.ts:does not create a document link for a missing comment reference file, comment-reference-resolution.test.ts:creates a document link when the comment reference file and idea exist, comment-reference-resolution.test.ts:reports an error when the comment reference idea is missing from the file, rq-ignore-error, comment-reference-resolution.test.ts:reports a missing comment reference file in a loaded document, comment-reference-resolution.test.ts:reports a missing comment reference idea in a loaded file, comment-reference-resolution.test.ts:accepts a resolved comment reference in a loaded document

Interactive page: comment_reference_resolution_error